OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.15.1
API documentation
AdvancedLogOptions Struct Reference

#include <LogSettings.h>

Public Types

enum  Enum {
  LogNothing = 0x00, TraceToFile = 0x01, TraceToConsole = 0x02, Async = 0x04,
  LocalTime = 0x40, RotateOnRestart = 0x80, Default = TraceToFile
}
 

Static Public Member Functions

static std::string toString (Enum state)
 

Detailed Description

Definition at line 49 of file LogSettings.h.

Member Enumeration Documentation

enum Enum

Additional options to control log information.

Enumerator
LogNothing 

Nothing except standard information must be logged.

TraceToFile 

Trace to the log file.

TraceToConsole 

Trace to the 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 auxiliary thread.  
LocalTime 

Use local time instead of UTC.

RotateOnRestart 

Rotate log file on restart of the Handler.

Default 

Default log settings.

Definition at line 52 of file LogSettings.h.

Member Function Documentation

static std::string toString ( Enum  state)
static

Returns string representation of a state.


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