Logger

The Logger struct manages logging with support for different levels and different outputs

Constructors

this
this(string name, string output, LogLevel level)

Default constructor

Members

Functions

_debug
void _debug(string msg)

Logs a debug log (LogLevel.DEBUG)

critical
void critical(string msg)

Logs a critical log (LogLevel.CRITICAL)

error
void error(string msg)

Logs an error log (LogLevel.ERROR)

info
void info(string msg)

Logs an info log (LogLevel.INFO)

warning
void warning(string msg)

Logs a warning log (LogLevel.WARNING)

Properties

logLevel
LogLevel logLevel [@property getter]

Returns the log level of the logger

Meta