63 TraceToConsole = 0x02,
72 ConsoleColored = 0x10,
75 ConsoleShowPrefix = 0x20,
84 Default = TraceToFile | LogPackets | LogBooks
101 ReadOwnerOnly = 0x01,
107 WriteOwnerOnly = 0x04,
113 Default = ReadAll | WriteOwnerOnly
128 : logDirectory(
"logs")
129 , logFileNamePrefix(
"B3Umdf")
LogLevel::Enum logLevel
Log verbosity.
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
ONIXS_B3_UMDF_MD_API std::ostream & operator<<(std::ostream &stream, const LoggerSettings &settings)
User or logic error, just say about it.
LogSettings::Enum operator|(LogSettings::Enum a, LogSettings::Enum b)
Typed logical operator helper.
Fatal error, cannot continue.
LogFilePermission::Enum logFilePermissions
Log file permissions.
std::string logDirectory
Log files are stored in this directory.
Log file read permissions.
Used for tracing, usually including functions' names and args.
std::string logFileNamePrefix
Template of log file name without extension.
ONIXS_B3_UMDF_MD_API std::string enumToString(LogLevel::Enum)
Returns string representation of ErrorCode value.
System error, but we can go on.
LoggerSettings()
Constructor.