LogRet
The return value of the logger.
Definition: ILogger.h:23
~Logger() override=default
IUserInterface & m_ui
Definition: Logger.h:20
static char logLevelToString(LogLevel logLevel)
Definition: Logger.cpp:31
LogLevel
The log level used for the logger.
Definition: ILogger.h:9
LogRet log(LogLevel level, const char *format,...) override
Logs if the provided level is higher than the current log level (Thread-safe)
Definition: Logger.cpp:8
A logger class with basic logging capabilities.
Definition: ILogger.h:35
LogLevel m_logLevel
Definition: Logger.h:21
Manages the user interface The user interface can consist of buttons, LED, serial print ports,...
Definition: IUserInterface.h:36
Logger(LogLevel level, IUserInterface &ui)
Definition: Logger.cpp:6