88 using Type =
typename std::underlying_type<LogSettings::Enum>::type;
89 return static_cast<LogSettings::Enum>(
static_cast<Type
>(a) |
static_cast<Type
>(b));
#define ONIXS_ILINK3_EXPORTED
LogSettings::Enum operator|(LogSettings::Enum a, LogSettings::Enum b)
Typed logical operator helper.
Represents the severity level of log messages.
static Enum parse(const std::string &value)
Parses a log level from its textual representation.
static std::string toString(Enum type)
@ Max
The most verbose level.
@ Info
General informational messages about normal operation.
@ Warning
A potentially harmful situation that deserves attention.
@ Error
A serious error that prevents normal execution.
@ Trace
Fine-grained events for tracing control flow and state.
@ Debug
Detailed diagnostic information useful during development and testing.
static Enum parse(std::string value)
Parses options from the textual representation.
static std::string toString(Enum type)
@ Default
Default log settings.
@ TraceToFile
Trace to the log file.
@ TraceToConsole
Duplicate log messages to console.