Skip to main content

Inner classes

Members

Public types

Enumeration type eLogLevel

Enumerator Unknown

Enumerator Trace

Enumerator Debug

Enumerator Info

Enumerator Warn

Enumerator Error

Enumerator Critical

Enumeration type eLoggerSink

Enumerator Unknown

Enumerator Stdout

Enumerator File

Public static functions

Function flushAllLoggers

Flush all loggers. This function is thread-safe. Return type: void

Function registerLogger

Registers a logger into the logging infrastructure. This function is thread-safe. Parameters:
  • logger_name: The logger name. This will appear in the log message to identify the message.
Returns: std::shared_ptr<Logger> The registered logger. See also: LoggerConfig Parameters:
  • std::string const & logger_name
Return type: Logger

Function getLogger

Get a Logger by its name. This function is thread-safe. Parameters:
  • logger_name: The logger name. This will appear in the log message to identify the message.
Returns: std::shared_ptr<Logger> Parameters:
  • std::string const & logger_name
Return type: Logger