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