Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Classes | Namespaces | Defines | Variables

LogStream.h File Reference

#include <OpenMS/DATASTRUCTURES/String.h>
#include <sstream>
#include <iostream>
#include <list>
#include <vector>
#include <ctime>
#include <map>

Go to the source code of this file.

Classes

class  LogStreamBuf
 Stream buffer used by LogStream. More...
struct  LogStreamBuf::StreamStruct
 Holds a stream that is connected to the LogStream. It also includes the minimum and maximum level at which the LogStream redirects messages to this stream. More...
struct  LogStreamBuf::LogCacheStruct
 Holds a counter of occurences and an index for the occurence sequence of the corresponding log message. More...
class  LogStreamNotifier
class  LogStream
 Log Stream Class. More...

Namespaces

namespace  OpenMS
 

Main OpenMS namespace.


namespace  OpenMS::Logger
 

Log streams.


Defines

#define LOG_FATAL_ERROR   Log_fatal << __FILE__ << "(" << __LINE__ << "): "
 Macro to be used if fatal error are reported (processing stops).
#define LOG_ERROR   Log_error
 Macro to be used if non-fatal error are reported (processing continues).
#define LOG_WARN   Log_warn
 Macro if a warning, a piece of information which should be read by the user, should be logged.
#define LOG_INFO   Log_info
 Macro if a information, e.g. a status should be reported.
#define LOG_DEBUG   Log_debug << __FILE__ << "(" << __LINE__ << "): "
 Macro for general debugging information.

Variables

Logger::LogStream Log_fatal
 Global static instance of a LogStream to capture messages classified as fatal errors. By default it is bound to cerr.
Logger::LogStream Log_error
 Global static instance of a LogStream to capture messages classified as errors. By default it is bound to cerr.
Logger::LogStream Log_warn
 Global static instance of a LogStream to capture messages classified as warnings. By default it is bound to cout.
Logger::LogStream Log_info
 Global static instance of a LogStream to capture messages classified as information. By default it is bound to cout.
Logger::LogStream Log_debug
 Global static instance of a LogStream to capture messages classified as debug output. By default it is not bound to any output stream.

Define Documentation

#define LOG_DEBUG   Log_debug << __FILE__ << "(" << __LINE__ << "): "
#define LOG_ERROR   Log_error
#define LOG_FATAL_ERROR   Log_fatal << __FILE__ << "(" << __LINE__ << "): "

Macro to be used if fatal error are reported (processing stops).

Referenced by IDEvaluationBase::getPoints().

#define LOG_INFO   Log_info
#define LOG_WARN   Log_warn

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:46 using doxygen 1.7.1