 |
log4cplus
2.0.5
|
Go to the documentation of this file.
24 #ifndef LOG4CPLUS_TRACELOGGER_H
25 #define LOG4CPLUS_TRACELOGGER_H
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
57 : logger(std::move (l)), msg(std::move (_msg)), file(_file),
58 function(_function), line(_line)
62 file, line,
function);
69 file, line,
function);
87 #endif // LOG4CPLUS_TRACELOGGER_H
void forcedLog(LogLevel ll, const log4cplus::tstring &message, const char *file=LOG4CPLUS_CALLER_FILE(), int line=LOG4CPLUS_CALLER_LINE(), const char *function=LOG4CPLUS_CALLER_FUNCTION()) const
This method creates a new logging event and logs the event without further checks.
std::basic_string< tchar > tstring
bool isEnabledFor(LogLevel ll) const
Check whether this logger is enabled for a given LogLevel passed as parameter.
#define LOG4CPLUS_TEXT(STRING)
#define LOG4CPLUS_CALLER_FUNCTION()
#define LOG4CPLUS_CALLER_LINE()
#define LOG4CPLUS_CALLER_FILE()
const LogLevel TRACE_LOG_LEVEL
This class is used to produce "Trace" logging.
TraceLogger(Logger l, log4cplus::tstring _msg, const char *_file=LOG4CPLUS_CALLER_FILE(), int _line=LOG4CPLUS_CALLER_LINE(), char const *_function=LOG4CPLUS_CALLER_FUNCTION())
This is the central class in the log4cplus package.