OnixS CBOE CSM Handler for C++  1.2.8.0
Public Types
LogSettings Struct Reference

Logging options. More...

List of all members.

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.