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

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

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.cn-greasyfork.org/scripts/375910/656390/Native%20implementation%20of%20a%20jsFiddlenet%20in-pane%20log%20console.js

作者
Jonathan Richard-Brochu (johnwait)
版本
0.1.0
创建于
2018-12-24
更新于
2018-12-24
大小
9.5 KB
许可证
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)