#include <MsgLogLevel.h>
Public Types | |
debug | |
trace | |
info | |
warning | |
error | |
fatal | |
nolog | |
LAST_LEVEL = nolog | |
enum | Level { debug, trace, info, warning, error, fatal, nolog, LAST_LEVEL = nolog } |
Public Member Functions | |
MsgLogLevel (Level code) | |
MsgLogLevel (int code) | |
MsgLogLevel (const std::string &name) | |
~MsgLogLevel () | |
MsgLogLevel & | operator= (const Level code) |
bool | operator== (MsgLogLevel other) const |
bool | operator!= (MsgLogLevel other) const |
bool | operator< (MsgLogLevel other) const |
bool | operator<= (MsgLogLevel other) const |
bool | operator> (MsgLogLevel other) const |
bool | operator>= (MsgLogLevel other) const |
const char * | levelName () const |
const char * | level3 () const |
char | levelLetter () const |
int | code () const |
Static Public Member Functions | |
static MsgLogLevel | defaultLevel () |
This software was developed for the BaBar collaboration. If you use all or part of it, please give an appropriate acknowledgement.
Copyright (C) 2005 SLAC
Definition at line 69 of file MsgLogLevel.h.
Message Level levels. The code in the package depends on the range which should in [0...LAST_LEVEL]
Definition at line 77 of file MsgLogLevel.h.
MsgLogger::MsgLogLevel::MsgLogLevel | ( | Level | code | ) | [inline] |
MsgLogger::MsgLogLevel::MsgLogLevel | ( | int | code | ) | [explicit] |
MsgLogger::MsgLogLevel::MsgLogLevel | ( | const std::string & | name | ) | [explicit] |
MsgLogger::MsgLogLevel::~MsgLogLevel | ( | ) | [inline] |
Definition at line 96 of file MsgLogLevel.h.
int MsgLogger::MsgLogLevel::code | ( | ) | const [inline] |
Definition at line 120 of file MsgLogLevel.h.
Referenced by MsgLogger::MsgFormatter::addFormat(), MsgLogger::MsgFormatter::addGlobalFormat(), and MsgLogger::MsgFormatter::getFormat().
static MsgLogLevel MsgLogger::MsgLogLevel::defaultLevel | ( | ) | [inline, static] |
const char * MsgLogger::MsgLogLevel::level3 | ( | ) | const |
Definition at line 99 of file MsgLogLevel.cpp.
References debug, error, fatal, info, nolog, trace, and warning.
Referenced by MsgLogger::MsgFormatter::format().
char MsgLogger::MsgLogLevel::levelLetter | ( | ) | const |
Definition at line 122 of file MsgLogLevel.cpp.
References debug, error, fatal, info, nolog, trace, and warning.
Referenced by MsgLogger::MsgFormatter::format().
const char * MsgLogger::MsgLogLevel::levelName | ( | ) | const |
Definition at line 76 of file MsgLogLevel.cpp.
References debug, error, fatal, info, nolog, trace, and warning.
Referenced by MsgLogger::operator<<().
bool MsgLogger::MsgLogLevel::operator!= | ( | MsgLogLevel | other | ) | const [inline] |
bool MsgLogger::MsgLogLevel::operator< | ( | MsgLogLevel | other | ) | const [inline] |
bool MsgLogger::MsgLogLevel::operator<= | ( | MsgLogLevel | other | ) | const [inline] |
MsgLogLevel& MsgLogger::MsgLogLevel::operator= | ( | const Level | code | ) | [inline] |
Definition at line 100 of file MsgLogLevel.h.
bool MsgLogger::MsgLogLevel::operator== | ( | MsgLogLevel | other | ) | const [inline] |
bool MsgLogger::MsgLogLevel::operator> | ( | MsgLogLevel | other | ) | const [inline] |
bool MsgLogger::MsgLogLevel::operator>= | ( | MsgLogLevel | other | ) | const [inline] |