JavaScript:consoleオブジェクト
JavaScript:console object
JavaScript:Console API
JavaScript:console.log
JavaScript:console.error
https://developer.mozilla.org/ja/docs/Web/API/console