dalicious.log

Central logging facility for dalicious.

Members

Enums

LogLevel
enum LogLevel

Specifies the log level for a particular log message.

Functions

log
void log(LogLevel level, string fmt, lazy T args)

Logs a message.

logDebug
void logDebug(string fmt, lazy T args)
logDiagnostic
void logDiagnostic(string fmt, lazy T args)
logError
void logError(string fmt, lazy T args)
logInfo
void logInfo(string fmt, lazy T args)

Logs a message.

logJson
void logJson(LogLevel level, lazy T args)

Logs a message in JSON format.

logJsonDebug
void logJsonDebug(lazy T args)
logJsonDiagnostic
void logJsonDiagnostic(lazy T args)
logJsonError
void logJsonError(lazy T args)
logJsonInfo
void logJsonInfo(lazy T args)
logJsonWarn
void logJsonWarn(lazy T args)

Logs a message in JSON format.

logWarn
void logWarn(string fmt, lazy T args)

Logs a message.

setLogLevel
void setLogLevel(LogLevel level)

Sets the minimum log level to be printed.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE file.

Authors

Arne Ludwig <arne.ludwig@posteo.de>