Builds a diagnostic entry, emitted by the static RLogManager upon destruction of this builder, where - by definition - the RLogEntry has been completely built.
This builder can be used through the utility preprocessor macros R__LOG_ERROR, R__LOG_WARNING etc like this:
This will automatically capture the current class and function name, the file and line number.
Definition at line 213 of file RLogger.hxx.
Public Member Functions | |
RLogBuilder (ELogLevel level, RLogChannel &channel) | |
RLogBuilder (ELogLevel level, RLogChannel &channel, const std::string &filename, int line, const std::string &funcname) | |
~RLogBuilder () | |
Emit the log entry through the static log manager. | |
Private Attributes | |
RLogEntry | fEntry |
The log entry to be built. | |
#include <ROOT/RLogger.hxx>
|
inline |
Definition at line 218 of file RLogger.hxx.
|
inline |
Definition at line 219 of file RLogger.hxx.
|
inline |
Emit the log entry through the static log manager.
Definition at line 226 of file RLogger.hxx.
|
private |
The log entry to be built.
Definition at line 215 of file RLogger.hxx.