Public Types | |
| enum | Enum |
Definition at line 53 of file LogSettings.h.
| enum Enum |
| Enumerator | ||
|---|---|---|
| Disabled | 0x00 | Turn logging off completely. The Handler installs a null logger instead of a real one, so nothing is written anywhere and no log file is created. Anything above LogLevel::Fatal is rejected on severity, before it is formatted, so logging costs nothing while the Handler runs. logLevel, logDirectory, logFileNamePrefix and logFilePermissions are ignored. Errors and warnings still reach ErrorListener and WarningListener - this silences the log, not the Handler.
|
| TraceToFile | 0x01 | Trace to the log file. |
| TraceToConsole | 0x02 | Duplicate log messages to console.
|
| Async | 0x4 | Use asynchronous logging. |
| ConsoleErr | 0x8 | if TraceToConsole is set, then direct output to stderr |
| ConsoleColored | 0x10 | if TraceToConsole is set, then set up colored output mode |
| ConsoleShowPrefix | 0x20 | if TraceToConsole is set, then append prefix to output |
| LogPackets | 0x40 | Log binary data of received packets, applied only for Info log level and below. |
| LogBooks | 0x80 | Log updated order book, applied only for Debug log level. |
| Default | TraceToFile | LogPackets | LogBooks | Default log settings. |
Definition at line 55 of file LogSettings.h.