Protected ReadonlyactiveProtected ReadonlygroupedProtectedrepetitionStatic ReadonlyCOLOR_Static ReadonlyCOLOR_Static ReadonlyCOLOR_Static ReadonlyCOLOR_Static ReadonlyCOLOR_Static ReadonlyCOLOR_Static ReadonlyCOLOR_Static ReadonlyCOLOR_Static ReadonlyLEVELSAll available logging levels.
Optionaldata: anyOptionaldata: anyOptionaldata: anyFlush all active log groups.
Optionaldata: anyCheck if messages at the given level are emitted, so callers can skip computing their log data otherwise.
The logging level to check.
If messages at the given level are emitted, which is always the case by default.
ProtectedlogOptionaldata: anyLog a message that might be repeated, preventing console spam. If the same key is passed multiple times, only the first time the emit callback will be invoked immediately. All subsequent calls will be buffered, until at least Logger#groupedLogLimit other logGrouped calls are made, or Logger#flush is called.
A unique key for this message (e.g. the message template).
A callback to emit the message.
Optionaldata: anyOptionaldata: anyStaticgetConvert a string-based logging level to a numerical logging level.
A string-based logging level
The numerical logging level, or undefined.
StaticwithReturn a string in a given color
The string that should be printed in
A given color
A logger that pretty-prints everything.