OnixS C++ eSpeed ITCH Market Data Handler  1.7.3
API documentation
LogSettings Struct Reference

#include <OnixS/eSpeed/MarketData/Itch/LogSettings.h>

Public Types

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

Detailed Description

Definition at line 47 of file LogSettings.h.

Member Enumeration Documentation

enum Enum
Enumerator
NoTrace 

Disable all tracing.

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 

Enable asynchronous logging.

    @note Instead of direct output to file or console, handler put log message into
    interthread queue, that will be processed by auxilary thread.  
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.

Definition at line 49 of file LogSettings.h.


The documentation for this struct was generated from the following file: