2#ifndef _LOGIT_ILOGGER_HPP_INCLUDED
3#define _LOGIT_ILOGGER_HPP_INCLUDED
26 virtual void log(
const LogRecord& record,
const std::string& message) = 0;
Interface for loggers that handle log message output.
virtual double get_float_param(const LoggerParam ¶m) const =0
Retrieves a floating-point parameter from the logger.
virtual void set_log_level(LogLevel level)=0
Sets the minimal log level for this logger.
virtual int64_t get_int_param(const LoggerParam ¶m) const =0
Retrieves an integer parameter from the logger.
virtual void log(const LogRecord &record, const std::string &message)=0
Logs a message.
virtual std::string get_string_param(const LoggerParam ¶m) const =0
Retrieves a string parameter from the logger.
virtual void wait()=0
Waits for all asynchronous logging operations to complete.
virtual ~ILogger()=default
virtual LogLevel get_log_level() const =0
Gets the minimal log level for this logger.
The primary namespace for the LogIt++ library.
LoggerParam
Enumeration for different logger parameters that can be retrieved.
Stores log metadata and content.