Class providing the base for any logger.
More...
#include <logging.hpp>
|
| logger (const logging_config_t &config) |
| Logger constructor. More...
|
|
virtual void | log (const std::string &message, const log_level level) |
| Handle a log entry considerings its level. More...
|
|
virtual void | log (const std::string &message) |
| Handle a log entry. More...
|
|
|
std::mutex | lock |
| Mutex to handle concurrent log writes.
|
|
Class providing the base for any logger.
◆ logger()
logging::logger::logger |
( |
const logging_config_t & |
config | ) |
|
|
inline |
Logger constructor.
- Parameters
-
config | Logger configuration |
◆ log() [1/2]
virtual void logging::logger::log |
( |
const std::string & |
message, |
|
|
const log_level |
level |
|
) |
| |
|
inlinevirtual |
◆ log() [2/2]
virtual void logging::logger::log |
( |
const std::string & |
message | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: