OnixS C++ Tradeweb Approved Publication Arrangement (APA) Handler  1.2.2.18
API documentation
LogSettings Struct Reference

#include <LogSettings.h>

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

Definition at line 53 of file LogSettings.h.

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.

Definition at line 55 of file LogSettings.h.


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