BufferedLogger

Class-wrapper around strict logger. All strings are written down only after finalizing the wrapper.

Constructors

this
this(ILogger delayLogger)
Undocumented in source.

Members

Functions

finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
rawInput
void rawInput(string message)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From StrictLogger

Mode
enum Mode

Option how to open logging file

name
string name()

Log file name.

name
void name(string value)

Setting new log file name. If the value differs from old one, logger should close old one and open new file.

log
void log(string message, LoggingLevel level)

Prints message into log. Displaying in the console controlled by minOutputLevel property.

minOutputLevel
LoggingLevel minOutputLevel()
minOutputLevel
void minOutputLevel(LoggingLevel level)

Setups minimum log level,

reload
void reload()

Checks if the log file is exists at specified location and if can't find it, recreates the file and continues write into it.

initialize
void initialize(Mode mode)

Tries to create log file at location.

formatString
string formatString(string message, LoggingLevel level)

Format message with default logging style (etc. time and level string).

rawInput
void rawInput(string message)

Unsafe write down the message without any meta information.

finalize
void finalize()

Used to manual shutdown protocols.

~this
~this()
Undocumented in source.

Meta