MeVisLab Toolbox Reference
scl Namespace Reference

Classes

class  ScopedLog
 

Typedefs

typedef boost::log::sources::severity_channel_logger< SeverityLevelLogger
 
typedef boost::log::sources::severity_channel_logger_mt< SeverityLevelThreadSafeLogger
 
typedef boost::log::sinks::sink Sink
 
typedef boost::shared_ptr< SinkSinkPtr
 

Enumerations

enum  SeverityLevel {
  Debug , Info , Warning , Error ,
  Critical
}
 

Functions

template<typename CharT , typename TraitsT >
std::basic_ostream< CharT, TraitsT > & operator<< (std::basic_ostream< CharT, TraitsT > &stream, SeverityLevel level)
 
 BOOST_LOG_ATTRIBUTE_KEYWORD (severity, "Severity", SeverityLevel)
 
 BOOST_LOG_ATTRIBUTE_KEYWORD (channel, "Channel", std::string)
 
template<typename SinkType >
void remove_log (boost::shared_ptr< SinkType > sink)
 
SEVERITYCHANNELLOGGING_EXPORT void initialize ()
 

Typedef Documentation

◆ Logger

typedef boost::log::sources::severity_channel_logger<SeverityLevel> scl::Logger

Definition at line 64 of file SeverityChannelLogging.h.

◆ Sink

typedef boost::log::sinks::sink scl::Sink

Definition at line 67 of file SeverityChannelLogging.h.

◆ SinkPtr

typedef boost::shared_ptr<Sink> scl::SinkPtr

Definition at line 68 of file SeverityChannelLogging.h.

◆ ThreadSafeLogger

typedef boost::log::sources::severity_channel_logger_mt<SeverityLevel> scl::ThreadSafeLogger

Definition at line 65 of file SeverityChannelLogging.h.

Enumeration Type Documentation

◆ SeverityLevel

Enumerator
Debug 
Info 
Warning 
Error 
Critical 

Definition at line 31 of file SeverityChannelLogging.h.

Function Documentation

◆ BOOST_LOG_ATTRIBUTE_KEYWORD() [1/2]

scl::BOOST_LOG_ATTRIBUTE_KEYWORD ( channel ,
"Channel" ,
std::string  )

◆ BOOST_LOG_ATTRIBUTE_KEYWORD() [2/2]

scl::BOOST_LOG_ATTRIBUTE_KEYWORD ( severity ,
"Severity" ,
SeverityLevel  )

◆ initialize()

SEVERITYCHANNELLOGGING_EXPORT void scl::initialize ( )

◆ operator<<()

std::basic_ostream< CharT, TraitsT > & scl::operator<< ( std::basic_ostream< CharT, TraitsT > & stream,
SeverityLevel level )

Definition at line 1 of file SeverityChannelLogging.h.

◆ remove_log()

template<typename SinkType >
void scl::remove_log ( boost::shared_ptr< SinkType > sink)

Definition at line 80 of file SeverityChannelLogging.h.

References mlrange_cast().