Logger

Abstract base class for all loggers

Members

Functions

acceptsLevel
bool acceptsLevel(LogLevel value)
Undocumented in source. Be warned that the author may not have intended to support it.
beginLine
void beginLine(LogLine line_info)

Starts a new log line.

endLine
void endLine()

Finalizes a log line.

log
void log(LogLine line)

Legacy logging interface relying on dynamic memory allocation.

put
void put(const(char)[] text)

Writes part of a log line message.

Variables

minLevel
LogLevel minLevel;
Undocumented in source.
multilineLogger
bool multilineLogger;

Whether the logger can handle multiple lines in a single beginLine/endLine.

Meta