semaine::cms::CMSLogger Class Reference

#include <CMSLogger.h>

List of all members.

Public Member Functions

 ~CMSLogger ()
void error (const std::string &message, const std::exception *exc=NULL)
void warn (const std::string &message, const std::exception *exc=NULL)
void info (const std::string &message, const std::exception *exc=NULL)
void debug (const std::string &message, const std::exception *exc=NULL)
bool isDebugEnabled ()

Static Public Member Functions

static CMSLoggergetLog (const std::string &source)
static std::string toLogMessageText (const std::string &message, const std::exception *exc=NULL)
static std::string message2logString (SEMAINEMessage *m)

Detailed Description

A relatively lightweight class logging messages to a CMS topic if possible, and to the local log system if the JMS connection fails. All instances of CMSLogger use the same CMS connection and the same session.

Author:
marc

Constructor & Destructor Documentation

CMSLogger::~CMSLogger (  ) 

Member Function Documentation

void CMSLogger::debug ( const std::string &  message,
const std::exception *  exc = NULL 
)
void CMSLogger::error ( const std::string &  message,
const std::exception *  exc = NULL 
)
CMSLogger * CMSLogger::getLog ( const std::string &  source  )  [static]
void CMSLogger::info ( const std::string &  message,
const std::exception *  exc = NULL 
)
bool CMSLogger::isDebugEnabled (  ) 
static std::string semaine::cms::CMSLogger::message2logString ( SEMAINEMessage m  )  [static]
std::string CMSLogger::toLogMessageText ( const std::string &  message,
const std::exception *  exc = NULL 
) [static]
void CMSLogger::warn ( const std::string &  message,
const std::exception *  exc = NULL 
)

The documentation for this class was generated from the following files:
Generated on Tue Dec 14 17:13:18 2010 for SEMAINE by  doxygen 1.6.3