OnixS BME SENAF Handler C++ library 2.3.0
API documentation
Loading...
Searching...
No Matches
AdvancedLogOptions Struct Reference

Public Types

enum  Enum

Static Public Member Functions

static std::string toString (Enum state)

Detailed Description

Definition at line 54 of file LogSettings.h.

Member Enumeration Documentation

◆ Enum

enum Enum

Additional options to control log information.

Enumerator
LogNothing 0x00 

Nothing except standard information must be logged.

TraceToFile 0x01 

Trace to the log file.

TraceToConsole 0x02 

Trace to the console.

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

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 0x40 

Use local time instead of UTC.

Default TraceToFile 

Default log settings.

Definition at line 57 of file LogSettings.h.

Member Function Documentation

◆ toString()

std::string toString ( Enum state)
static

Returns string representation of a state.