OnixS C++ ICE Binary Order Entry Handler 1.1.2
API Documentation
Loading...
Searching...
No Matches
LogLevel Struct Reference

Public Types

enum  Enum

Static Public Member Functions

static std::string toString (Enum value)
static Enum parse (const std::string &value)

Detailed Description

Definition at line 28 of file LogSettings.h.

Member Enumeration Documentation

◆ Enum

enum Enum
Enumerator
Error 0 

A serious error that prevents normal execution.

Warning 1 

A potentially harmful situation that deserves attention.

Info 2 

General informational messages about normal operation.

Trace 3 

Fine-grained events for tracing control flow and state.

Debug 4 

Detailed diagnostic information useful during development and testing.

Max Debug 

The most verbose level.

Definition at line 30 of file LogSettings.h.

31 {
33 Error = 0,
34
36 Warning = 1,
37
39 Info = 2,
40
42 Trace = 3,
43
45 Debug = 4,
46
48 Max = Debug,
49 };

Member Function Documentation

◆ parse()

Enum parse ( const std::string & value)
static

Parses a log level from its textual representation.

◆ toString()

std::string toString ( Enum value)
static
Returns
a string that represents the given value.