For debug purposes, and probably only needs to be logged when running in a debug environment.
Used when a fatal error has occurred that prevents some part of the program from functioning correctly.
Used to log progress of a long running task, or the state of a system.
The standard level of output. Similar to console.log
.
Used when an operation has completed successfully.
Used when an error has occurred which is not fatal.
Generated using TypeDoc
A description of the nature of a log message. Since the levels also represent values (
Debug
is0
, andSuccess
is5
), they may be used to filter out messages before logging.if (level < LogLevel.Message) return; // ignore Debug and Info.