1 #ifndef UMPS_LOGGING_LOG_HPP
2 #define UMPS_LOGGING_LOG_HPP
4 #include "umps/logging/level.hpp"
5 namespace UMPS::Logging
15 virtual ~
ILog() =
default;
19 virtual
void error(const std::
string &message) = 0;
21 virtual
void warn(const std::
string &message) = 0;
23 virtual
void info(const std::
string &message) = 0;
25 virtual
void debug(const std::
string &message) = 0;
Defines the logging level.
This is an abstract base class that allows users to define custom loggers to be used in other applica...
Definition: log.hpp:13
virtual Level getLevel() const noexcept=0
virtual void info(const std::string &message)=0
Writes an info message.
virtual void error(const std::string &message)=0
Writes an error message.
virtual void warn(const std::string &message)=0
Writes a warning message.
virtual void debug(const std::string &message)=0
Writes a debug message.