Private
constructorStatic
LEVELLet you set the minimum level required for a log to be sent to console.
For example if you set the level to LogLevel.LOG
, the Logger.debug()
and Logger.comments()
methods won't log anything.
Static
ignoresLet you ignore Logs by title or by titles and levels.
// This will ignore any logs with the title 'mylogs'.
Logger.ignores.push('mylogs');
// This will ignore any logs with the title 'mylogs', and the level 'LOG' or less.
Logger.ignores.push(['mylogs', LogLevel.LOG]);
// It can also work by setting the string version of the LogLevel.
Logger.ignores.push(['mylogs', 'LOG']);
Static
savingThe files where the logs are saved.
Static
commentStatic
debugStatic
errorStatic
eventStatic
infoStatic
isInternal
Test if a title and level is ignored.
The title of the log.
The level of the log.
Static
logStatic
saveStatic
setStatic
warnStatic
Protected
processStatic
Private
getGenerated using TypeDoc
See
https://ayfri.gitbook.io/advanced-command-handler/utilities/logger