91 std::ostream &
getStream(
const std::string & stream_name);
The LogConfigHandler provides the functionality to configure the internal logging of OpenMS algorithm...
Definition LogConfigHandler.h:27
static LogConfigHandler * instance_
Definition LogConfigHandler.h:162
std::set< std::string > & getConfigSetByName_(const std::string &stream_type)
Returns the correct set of registered streams for the given stream type (e.g. DEBUG,...
StreamHandler::StreamType getStreamTypeByName_(const std::string &stream_type)
Translates the given stream_type std::string into a valid StreamHandler::StreamType.
std::set< std::string > warn_streams_
List of all streams that were appended to OpenMS::getGlobalLogWarn()
Definition LogConfigHandler.h:152
LogConfigHandler()
Default constructor.
LogConfigHandler(const LogConfigHandler &source)
Copy constructor.
virtual LogConfigHandler & operator=(const LogConfigHandler &source)
Assignment operator.
static LogConfigHandler * getInstance()
Returns the instance of LogConfigHandler.
virtual ~LogConfigHandler()
Destructor.
static std::string PARAM_NAME
Name of the parameter in which the configuration should be stored.
Definition LogConfigHandler.h:30
std::set< std::string > debug_streams_
List of all streams that were appended to OpenMS::getGlobalLogDebug()
Definition LogConfigHandler.h:150
void setLogLevel(const std::string &log_level)
Sets a minimum log_level by removing all streams from loggers lower than that level,...
friend std::ostream & operator<<(std::ostream &os, LogConfigHandler const &lch)
Overload for the insertion operator (operator<<) to have a formatted output of the LogConfigHandler.
std::ostream & getStream(const std::string &stream_name)
Returns a reference to the registered stream with the name stream_name.
Logger::LogStream & getLogStreamByName_(const std::string &stream_name)
Returns the named global instance of the LogStream. (OpenMS::getGlobalLogDebug(), OpenMS::getGlobalLo...
std::map< std::string, StreamHandler::StreamType > stream_type_map_
Maps the registered streams to a StreamHandler::StreamType.
Definition LogConfigHandler.h:156
Param parse(const StringList &setting)
Translates the given list of parameter settings into a LogStream configuration.
std::set< std::string > fatal_streams_
List of all streams that were appended to OpenMS::getGlobalLogFatal()
Definition LogConfigHandler.h:154
void configure(const Param ¶m)
Applies the given parameters (param) to the current configuration.
std::set< std::string > info_streams_
List of all streams that were appended to OpenMS::getGlobalLogInfo()
Definition LogConfigHandler.h:151
std::set< std::string > error_streams_
List of all streams that were appended to OpenMS::getGlobalLogError()
Definition LogConfigHandler.h:153
Log Stream Class.
Definition LogStream.h:341
Management and storage of parameters / INI files.
Definition Param.h:46
StreamType
Defines the type of the stream that should be handled.
Definition StreamHandler.h:49
std::vector< std::string > StringList
Vector of String.
Definition ListUtils.h:44
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)