One log message: logger name (held by reference), level, source file and line, and a pointer to the stream buffer with the text.
More...
#include <Logger.hh>
|
| | LogRecord (const std::string &logger, const level_t &level, const char *filename, int linenum, std::streambuf *msgbuf) |
| | Store the given values; nothing is copied (logger is held by reference, msgbuf as a pointer).
|
| |
| | ~LogRecord () |
| | Destructor; does nothing.
|
| |
| const std::string & | logger () const |
| | get logger name
|
| |
| const level_t | level () const |
| | get message log level
|
| |
| const char * | file () const |
| | get message location
|
| |
| int | line () const |
| | Return the source line.
|
| |
| std::streambuf * | msgbuf () const |
| | get the stream for the specified log level
|
| |
One log message: logger name (held by reference), level, source file and line, and a pointer to the stream buffer with the text.
◆ level_t
◆ LogRecord()
| Logger::LogRecord::LogRecord |
( |
const std::string & |
logger, |
|
|
const level_t & |
level, |
|
|
const char * |
filename, |
|
|
int |
linenum, |
|
|
std::streambuf * |
msgbuf |
|
) |
| |
|
inline |
Store the given values; nothing is copied (logger is held by reference, msgbuf as a pointer).
◆ ~LogRecord()
| Logger::LogRecord::~LogRecord |
( |
| ) |
|
|
inline |
Destructor; does nothing.
◆ file()
| const char * Logger::LogRecord::file |
( |
| ) |
const |
|
inline |
◆ level()
| const level_t Logger::LogRecord::level |
( |
| ) |
const |
|
inline |
◆ line()
| int Logger::LogRecord::line |
( |
| ) |
const |
|
inline |
◆ logger()
| const std::string & Logger::LogRecord::logger |
( |
| ) |
const |
|
inline |
◆ msgbuf()
| std::streambuf * Logger::LogRecord::msgbuf |
( |
| ) |
const |
|
inline |
get the stream for the specified log level
The documentation for this class was generated from the following file: