SimpleLogger

Default logger with low clutter in the console which mean it is suitable for use with user interfacing log messages.

Automatically colors the log messages depending on their severity.

As you may note the time is not printed. It isn't particularly useful for a user of your program as a CLI. A user would just be annoyed. But for e.g. a system log it may be. In that case, use another logger than this one.

class SimpleLogger : logger.Logger {}

Constructors

this
this(LogLevel lvl)
Undocumented in source.

Members

Functions

writeLogMsg
void writeLogMsg(LogEntry payload)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta