Create a new logger with a set identifier.
name of the new logger
StaticsetExclude a list of loggers by name.
names of loggers to exclude from log output
StaticsetInclude a list of loggers by name.
names of loggers to include in log output
StaticsetSet global log severity level.
level to set to
Helper class for better logging to console. Provides some more salient visuals, filtering by log severity and inclusion or exclusion of log messages.
This class will respect the file names and line numbers of the locations in code where the log message arised, without relying on source maps. The trick is to combine partials (bound functions) with ES class getters to redirect calls to
console.*().If logger inclusion is specified, any log message must originate from an included logger. If no inclusion is specified, this feature is ignore. Any specified exclusion of loggers is always applied.