100 boost::mutex::scoped_lock lock(loggerMutex);
Logger()
Construct without parameter.
void setLogger(std::shared_ptr< Logger > newLogger)
Set a new logger, protected by a mutex.
boost::mutex loggerMutex
mutex to protect access to logging
virtual void finishInfoEntry(const char *file, unsigned line, const char *func)
Finish the entry into the info channel.
virtual void beginInfoEntry(const char *file, unsigned line, const char *func)
Start a new entry into the info channel.
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
Functions and classes that are not dependant on scalar type are defined in this namespace.
virtual std::ostream * warningStream()
Return the warning stream, 0 if hasWarningChannel() returns false.
virtual std::ostream * infoStream()
Return the info stream, 0 if hasInfoChannel() returns false.
The superclass of classes that are constructed using generic parameters. This class provides the para...
virtual bool hasWarningChannel() const
Return whether this logger provides the warning channel.
virtual ~Logger()
Virtual destructor, do nothing.
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
virtual void finishWarningEntry(const char *file, unsigned line, const char *func)
Finish the entry into the warning channel.
virtual void beginWarningEntry(const char *file, unsigned line, const char *func)
Start a new entry into the warning channel.
const std::string className
name of the class
virtual bool hasInfoChannel() const
Return whether this logger provides the info channel.
std::shared_ptr< Logger > logger
the current logger