1 #ifndef UMPS_LOGGING_LOGIT_HPP
2 #define UMPS_LOGGING_LOGIT_HPP
4 #include "umps/logging/log.hpp"
5 namespace UMPS::Logging
28 Level level = Level::INFO,
35 void error(const std::
string &message) override;
38 void warn(const std::
string &message) override;
41 void info(const std::
string &message) override;
44 void debug(const std::
string &message) override;
61 std::unique_ptr<LogItImpl> pImpl;
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
A wrapper to Earthworm's logit facility. If this library is not compiled against Earthworm then all c...
Definition: logIt.hpp:13
void debug(const std::string &message) override
Writes a debug message.
void error(const std::string &message) override
Writes an error message.
void warn(const std::string &message) override
Writes a warning message.
Level getLevel() const noexcept override
static bool haveEarthworm() noexcept
void initialize(const std::string &programName, Level level=Level::INFO, int logFlag=1)
void info(const std::string &message) override
Writes an info message.