23 #ifndef SRC_CONFIGURATION_LOGGER_HPP_
24 #define SRC_CONFIGURATION_LOGGER_HPP_
26 #include <boost/atomic.hpp>
27 #include <boost/thread/mutex.hpp>
28 #include <boost/ptr_container/ptr_vector.hpp>
58 void log(
const std::string & file,
int line,
Severity_t sev,
const std::string & msg);
Logger - defined in the form of a singleton, with double-checked locking pattern (DCLP) based access ...
Severity_t
Message severity level.
static boost::atomic< Logger * > instance_
void setSeverityLevel(Severity_t sev)
void log(const std::string &file, int line, Severity_t sev, const std::string &msg)
void incrementSeverityLevel()
Contains definition of an abstract logger output class, from which all output classes should be derri...
Abstract interface for different logger outputs.
static Logger * getInstance()
void addOutput(LoggerOutput *out)
boost::ptr_vector< LoggerOutput > outputs
void decrementSeverityLevel()
static boost::mutex instantiation_mutex