Native implementation of a jsFiddle.net in-pane log console

To be used among external libraries when testing other jsFiddle.net scripts

As of 24.12.2018. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/375910/656390/Native%20implementation%20of%20a%20jsFiddlenet%20in-pane%20log%20console.js

Аўтар
Jonathan Richard-Brochu (johnwait)
Версія
0.1.0
Створаны
24.12.2018
Абноўлены
24.12.2018
Памер
9.5 КБ
Ліцэнзія
GPLv3 or later (http://www.gnu.org/licenses/gpl-3.0.en.html)

Interface

Native methods supported:

  • console.log()
  • console.info()
  • console.warn()
  • console.error()
  • console.trace()
  • console.clear()

Special flags:

  • console.$enabled: whether console object override is active (default: true)
  • console.$echoNative: whether to also echo calls to the native implementation (default: false)