#include <LogSettings.h>
Public Types | |
enum | Enum { LogNothing = 0x00, TraceToFile = 0x01, TraceToConsole = 0x02, Async = 0x04, LocalTime = 0x40, RotateOnRestart = 0x80, Default = TraceToFile } |
Static Public Member Functions | |
static std::string | toString (Enum state) |
Definition at line 49 of file LogSettings.h.
enum Enum |
Additional options to control log information.
Enumerator | |
---|---|
LogNothing |
Nothing except standard information must be logged. |
TraceToFile |
Trace to the log file. |
TraceToConsole |
Trace to the console. \note Messages with LogLevel::Trace and LogLevel::Debug are not duplicated to console. |
Async |
Enable asynchronous logging. \note Instead of direct output to file or console, Handler put log message into interthread queue, that will be processed by auxiliary thread. |
LocalTime |
Use local time instead of UTC. |
RotateOnRestart |
Rotate log file on restart of the Handler. |
Default |
Default log settings. |
Definition at line 52 of file LogSettings.h.
|
static |
Returns string representation of a state.