util.log

Undocumented in source.

Members

Classes

FileLogger
class FileLogger(alias Layout)
Undocumented in source.
Logger
class Logger
Undocumented in source.
RollingFileLogger
class RollingFileLogger(alias Layout)
Undocumented in source.
RotatingFileLogger
class RotatingFileLogger(alias Layout)
Undocumented in source.
SyslogLogger
class SyslogLogger(alias Layout)
Undocumented in source.

Enums

LogLevel
enum LogLevel

Defines the importance of a log message.

Functions

archiveFiles
string[] archiveFiles(size_t n, string path)

Returns n file names based on path for archived files.

disabled
bool disabled(LogLevel level)
Undocumented in source. Be warned that the author may not have intended to support it.
fileLogger
auto fileLogger(string name, uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.
layout
void layout(Writer writer, EventInfo eventInfo, void delegate(scope Sink sink) putMessage)
Undocumented in source. Be warned that the author may not have intended to support it.
orAbove
uint orAbove(LogLevel level)

Returns a bit set containing the level and all levels above.

orBelow
uint orBelow(LogLevel level)

Returns a bit set containing the level and all levels below.

rollingFileLogger
auto rollingFileLogger(string name, size_t count, size_t size, uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.
rotatingFileLogger
auto rotatingFileLogger(string name, uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.
stderrLogger
auto stderrLogger(uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.
stdoutLogger
auto stdoutLogger(uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.
syslogLayout
void syslogLayout(Writer writer, EventInfo eventInfo, void delegate(scope Sink sink) putMessage)
Undocumented in source. Be warned that the author may not have intended to support it.
syslogLogger
auto syslogLogger(string name, uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

log
Log log;
Undocumented in source.

Structs

EventInfo
struct EventInfo

Represents information about a logging event.

Log
struct Log
Undocumented in source.

Meta