OnixS Xetra MDI Market Data Handler for C++  1.0.0.0
Public Types | List of all members
LogSettings Struct Reference

Logging options. More...

Public Types

enum  Enum {
  TraceToFile = 0x01, TraceToConsole = 0x02, Async = 0x4, ConsoleErr = 0x8,
  ConsoleColored = 0x10, ConsoleShowPrefix = 0x20, LogPackets = 0x40, LogBooks = 0x80,
  Default = TraceToFile | LogPackets | LogBooks
}
 

Detailed Description

Logging options.

Member Enumeration Documentation

enum Enum
Enumerator
TraceToFile 

Trace to the log file.

TraceToConsole 

Duplicate log messages to console.

Note
Messages with LogLevel::Trace and LogLevel::Debug are not duplicated to console.
Async 

Use asynchronous logging.

ConsoleErr 

if TraceToConsole is set, then direct output to stderr

ConsoleColored 

if TraceToConsole is set, then set up colored output mode

ConsoleShowPrefix 

if TraceToConsole is set, then append prefix to output

LogPackets 

Log binary data of received packets, applied only for Info log level and below.

LogBooks 

Log updated order book, applied only for Debug log level.

Default 

Default log settings.