Helios++
Helios software for LiDAR simulations
|
Class representing a logger capable of writing to standard out stream. More...
#include <logging.hpp>
Public Member Functions | |
std_out_logger (const logging_config_t &config) | |
Standard out logger constructor. More... | |
virtual void | log (const std::string &message, const log_level level) |
virtual void | log (const std::string &message) |
![]() | |
logger (const logging_config_t &config) | |
Logger constructor. More... | |
Protected Attributes | |
const std::unordered_map< log_level, std::string, enum_hasher > | levels |
Map of logging levels. More... | |
![]() | |
std::mutex | lock |
Mutex to handle concurrent log writes. | |
Class representing a logger capable of writing to standard out stream.
|
inline |
Standard out logger constructor.
config | Logger configuration which can be used to specify either colored or uncolored mode |
|
inlinevirtual |
Reimplemented from logging::logger.
|
inlinevirtual |
Reimplemented from logging::logger.
|
protected |
Map of logging levels.