Color Log Userscript Library

Colored logger for Greasemonkey user scripts. Drop-in decorator for 'window.console's debug(), info(), log(), warn(), error() methods. Control 'console.debug' log visibility via the 'window.DEBUG' global boolean.

As of 2018-06-02. 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.greasyforks.org/scripts/38888/602068/Color%20Log%20Userscript%20Library.js

Author
sidneys
Version
12.0.0
Created
2018-02-25
Updated
2018-06-02
Size
2.39 KB
License
N/A

Colored logger for Greasemonkey scripts.

Drop-in extension for 'console' logging methods (debug/info/log/warn/error).

Filters messages generated via 'console.debug' per default – set 'window.DEBUG = true' anywhere to show them.

长期地址
遇到问题?请前往 GitHub 提 Issues。