The LogConfigHandler provides the functionality to configure the internal logging of OpenMS algorithm...
Definition: LogConfigHandler.h:27
static LogConfigHandler * instance_
Definition: LogConfigHandler.h:152
std::ostream & getStream(const String &stream_name)
Returns a reference to the registered stream with the name stream_name.
LogConfigHandler()
Default constructor.
void setLogLevel(const String &log_level)
Sets a minimum log_level by removing all streams from loggers lower than that level....
LogConfigHandler(const LogConfigHandler &source)
Copy constructor.
static LogConfigHandler * getInstance()
Returns the instance of LogConfigHandler.
std::set< String > & getConfigSetByName_(const String &stream_type)
Returns the correct set of registered streams for the given stream type (e.g. DEBUG,...
virtual ~LogConfigHandler()
Destructor.
std::set< String > error_streams_
List of all streams that were appended to OpenMS::OpenMS_Log_error.
Definition: LogConfigHandler.h:143
StreamHandler::StreamType getStreamTypeByName_(const String &stream_type)
Translates the given stream_type String into a valid StreamHandler::StreamType.
std::set< String > info_streams_
List of all streams that were appended to OpenMS::OpenMS_Log_info.
Definition: LogConfigHandler.h:141
static String PARAM_NAME
Name of the parameter in which the configuration should be stored.
Definition: LogConfigHandler.h:30
std::set< String > fatal_streams_
List of all streams that were appended to OpenMS::OpenMS_Log_fatal.
Definition: LogConfigHandler.h:144
std::map< String, StreamHandler::StreamType > stream_type_map_
Maps the registered streams to a StreamHandler::StreamType.
Definition: LogConfigHandler.h:146
Param parse(const StringList &setting)
Translates the given list of parameter settings into a LogStream configuration.
virtual LogConfigHandler & operator=(const LogConfigHandler &source)
Assignment operator.
std::set< String > debug_streams_
List of all streams that were appended to OpenMS::OpenMS_Log_debug.
Definition: LogConfigHandler.h:140
friend std::ostream & operator<<(std::ostream &os, LogConfigHandler const &lch)
Overload for the insertion operator (operator<<) to have a formatted output of the LogConfigHandler.
void configure(const Param ¶m)
Applies the given parameters (param) to the current configuration.
Logger::LogStream & getLogStreamByName_(const String &stream_name)
Returns the named global instance of the LogStream. (OpenMS::OpenMS_Log_debug, OpenMS::OpenMS_Log_inf...
std::set< String > warn_streams_
List of all streams that were appended to OpenMS::OpenMS_Log_warn.
Definition: LogConfigHandler.h:142
Log Stream Class.
Definition: LogStream.h:292
Management and storage of parameters / INI files.
Definition: Param.h:44
StreamType
Defines the type of the stream that should be handled.
Definition: StreamHandler.h:49
A more convenient string class.
Definition: String.h:34
std::vector< 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)