#include <MsgLogRecord.h>
Public Member Functions | |
MsgLogRecord (const std::string &logger, MsgLogLevel level, const char *fileName, int linenum, std::streambuf *msgbuf) | |
~MsgLogRecord () | |
const std::string & | logger () const |
get logger name | |
MsgLogLevel | level () const |
get message log level | |
const char * | fileName () const |
get message location | |
int | lineNum () const |
std::streambuf * | msgbuf () const |
get the stream for the specified log level |
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 80 of file MsgLogRecord.h.
MsgLogger::MsgLogRecord::MsgLogRecord | ( | const std::string & | logger, | |
MsgLogLevel | level, | |||
const char * | fileName, | |||
int | linenum, | |||
std::streambuf * | msgbuf | |||
) | [inline] |
Definition at line 85 of file MsgLogRecord.h.
MsgLogger::MsgLogRecord::~MsgLogRecord | ( | ) | [inline] |
Definition at line 94 of file MsgLogRecord.h.
const char* MsgLogger::MsgLogRecord::fileName | ( | ) | const [inline] |
get message location
Definition at line 103 of file MsgLogRecord.h.
Referenced by MsgLogger::MsgFormatter::format().
MsgLogLevel MsgLogger::MsgLogRecord::level | ( | ) | const [inline] |
get message log level
Definition at line 100 of file MsgLogRecord.h.
Referenced by MsgLogger::MsgFormatter::format(), MsgLogger::MsgLoggerImpl::log(), and MsgLogger::MsgHandlerStdStreams::log().
int MsgLogger::MsgLogRecord::lineNum | ( | ) | const [inline] |
const std::string& MsgLogger::MsgLogRecord::logger | ( | ) | const [inline] |
get logger name
Definition at line 97 of file MsgLogRecord.h.
Referenced by MsgLogger::MsgFormatter::format().
std::streambuf* MsgLogger::MsgLogRecord::msgbuf | ( | ) | const [inline] |
get the stream for the specified log level
Definition at line 107 of file MsgLogRecord.h.
Referenced by MsgLogger::MsgFormatter::format().