should the log be highlighted
Loxer.highlight().log(...)
Loxer.highlight().open(...)
Loxer.highlight().of(...)
Loxer.highlight().error(...)
foregroundColor
and backgroundColor
of the log will be inverted.Loxer.init(options)
doit?: boolean
can conditionally highlight the log with true
.level(...)
or .module(...)
should the log be highlighted
the level of the log
Loxer.level(number).log(...)
Loxer.level(number).open(...)
Loxer.level(number).of(...)
1
(high) for opening logs and the level of the opening
log for any Loxer.of(...)
log.options.modules.*level
in the Loxer.init(options)
Loxer.of(...).error(...)
) will be ignored, but added as an attribute for the output
TODO: is this necessary?:Loxer.of(...).add(...)
will be changed to the minimum level of the opening log, though the box to
append to might not be logged.Loxer.of(...).close(...)
will be strictly changed to the level of the opening log, though otherwise
not opened boxes could be closed, or opened boxes could not be closed..highlight(...)
or .module(...)
the level of the log
the key of the module from LoxerOptions.modules. undefined
defaults to module "DEFAULT"
Loxer.module(string).log(...)
Loxer.module(string).open(...)
Loxer.module(string).of(...)
NONE
, which will lead the log to not have the box layoutLoxer.module().log(...)
the module will be DEFAULT
,
which will lead the log to have a box layout but no nameLoxer.init(options)
Loxer.init(options)
.highlight(...)
or .level(...)
the key of the module from LoxerOptions.modules. undefined
defaults to module "DEFAULT"
Generated using TypeDoc
Highlight a log (shortcut)
Is a shortcut for Loxer.highlight().