util.log

Undocumented in source.

Members

Classes

FileLogger
class FileLogger(Layout)
Undocumented in source.
Layout
class Layout
Undocumented in source.
Logger
class Logger
Undocumented in source.
RollingFileLogger
class RollingFileLogger(Layout)
Undocumented in source.
RotatingFileLogger
class RotatingFileLogger(Layout)
Undocumented in source.
SyslogLayout
class SyslogLayout
Undocumented in source.
SyslogLogger
class SyslogLogger(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(Layout layout, string name, uint levels)
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(Layout layout, 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(Layout layout, string name, uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.
stderrLogger
auto stderrLogger(Layout layout, uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.
stdoutLogger
auto stdoutLogger(Layout layout, uint levels)
Undocumented in source. Be warned that the author may not have intended to support it.
syslogLogger
auto syslogLogger(Layout layout, 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