| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GaudiMessaging Class Reference

A namespace holding functions taking a string and sending it to a MsgStream. More...

#include <GaudiMessages.h>

Collaboration diagram for GaudiMessaging:

[legend]
List of all members.

Public Member Functions

 GaudiMessaging (const std::string &streamName="")
void log (int, const std::string &msg)
void verbose (const std::string &msg)
void debug (const std::string &msg)
void info (const std::string &msg)
void warning (const std::string &msg)
void error (const std::string &msg)
void fatal (const std::string &msg)
void always (const std::string &msg)

Private Member Functions

GaudiMessagingoperator= (const GaudiMessaging &)

Private Attributes

GaudiMsgStreams m_stream

Detailed Description

A namespace holding functions taking a string and sending it to a MsgStream.

These are meant for Python convnience

Definition at line 91 of file GaudiMessages.h.


Constructor & Destructor Documentation

GaudiMessaging::GaudiMessaging ( const std::string &  streamName = ""  ) 

Definition at line 57 of file GaudiMessages.cc.

00058     : m_stream(streamName)
00059 {
00060 }


Member Function Documentation

GaudiMessaging& GaudiMessaging::operator= ( const GaudiMessaging  )  [private]

void GaudiMessaging::log ( int  ,
const std::string &  msg 
)

Definition at line 62 of file GaudiMessages.cc.

00063 {
00064     MSG::Level level = (MSG::Level)ilevel;
00065     m_stream.log(level) << msg << endreq;
00066 }

void GaudiMessaging::verbose ( const std::string &  msg  ) 

Definition at line 68 of file GaudiMessages.cc.

00069 {
00070     this->log(1,msg);
00071 }

void GaudiMessaging::debug ( const std::string &  msg  ) 

Definition at line 72 of file GaudiMessages.cc.

00073 {
00074     this->log(2,msg);
00075 }

void GaudiMessaging::info ( const std::string &  msg  ) 

Definition at line 76 of file GaudiMessages.cc.

00077 {
00078     this->log(3,msg);
00079 }

void GaudiMessaging::warning ( const std::string &  msg  ) 

Definition at line 80 of file GaudiMessages.cc.

00081 {
00082     this->log(4,msg);
00083 }

void GaudiMessaging::error ( const std::string &  msg  ) 

Definition at line 84 of file GaudiMessages.cc.

00085 {
00086     this->log(5,msg);
00087 }

void GaudiMessaging::fatal ( const std::string &  msg  ) 

Definition at line 88 of file GaudiMessages.cc.

00089 {
00090     this->log(6,msg);
00091 }

void GaudiMessaging::always ( const std::string &  msg  ) 

Definition at line 92 of file GaudiMessages.cc.

00093 {
00094     this->log(7,msg);
00095 }


Member Data Documentation

GaudiMsgStreams GaudiMessaging::m_stream [private]

Definition at line 93 of file GaudiMessages.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:09:07 2011 for GaudiMessages by doxygen 1.4.7