@typhonjs-utils/logger-color/plugin defines an instance of ColorLogger that can be loaded as a plugin via
@typhonjs-plugin/manager and self-registers on an eventbus with all methods exposed as event bindings.
The extended API when using event bindings is accessed by appending :compact, :nocolor, :raw, or :time. The
no color option outputting the message with the current log format and the raw format will output just the raw
message with no format or color applied.
@typhonjs-utils/logger-color/plugindefines an instance of ColorLogger that can be loaded as a plugin via@typhonjs-plugin/managerand self-registers on an eventbus with all methods exposed as event bindings.The extended API when using event bindings is accessed by appending
:compact,:nocolor,:raw, or:time. The no color option outputting the message with the current log format and the raw format will output just the raw message with no format or color applied.Example
See
https://www.npmjs.com/package/@typhonjs-plugin/manager