Class Logger

Class Documentation

class Logger

Small singleton-based logging class with an exchangeable log handler.

Public Functions

Logger(const Logger&) = delete
void operator=(Logger const&) = delete
virtual ~Logger() = default

Public Static Functions

static inline Logger &getInstance()
static inline void setLogHandler(std::unique_ptr<LogHandler> log_handler)
static inline void setLogLevel(const LogLevel &log_level)
static inline void log (const std::string &file, const int line, const std::string &name, const LogLevel level, const std::string &msg...)