A diagnostic, emitted by the RLogManager upon destruction of the RLogEntry.
One can construct a RLogEntry through the utility preprocessor macros R__ERROR_HERE, R__WARNING_HERE etc like this: R__INFO_HERE("CodeGroupForInstanceLibrary") << "All we know is " << 42; This will automatically capture the current class and function name, the file and line number.
Definition at line 136 of file RLogger.hxx.
Public Member Functions | |
RLogEntry ()=default | |
RLogEntry (ELogLevel level, std::string_view group) | |
RLogEntry (ELogLevel level, std::string_view group, std::string_view filename, int line, std::string_view funcname) | |
~RLogEntry () | |
RLogEntry & | SetFile (const std::string &file) |
RLogEntry & | SetFunction (const std::string &func) |
RLogEntry & | SetLine (int line) |
Public Attributes | |
std::string | fFile |
std::string | fFuncName |
std::string | fGroup |
ELogLevel | fLevel |
int | fLine = 0 |
#include <ROOT/RLogger.hxx>
|
default |
|
inline |
Definition at line 146 of file RLogger.hxx.
|
inline |
Definition at line 147 of file RLogger.hxx.
|
inline |
Definition at line 167 of file RLogger.hxx.
|
inline |
Definition at line 151 of file RLogger.hxx.
|
inline |
Definition at line 156 of file RLogger.hxx.
Definition at line 161 of file RLogger.hxx.
std::string ROOT::Experimental::RLogEntry::fFile |
Definition at line 139 of file RLogger.hxx.
std::string ROOT::Experimental::RLogEntry::fFuncName |
Definition at line 140 of file RLogger.hxx.
std::string ROOT::Experimental::RLogEntry::fGroup |
Definition at line 138 of file RLogger.hxx.
ELogLevel ROOT::Experimental::RLogEntry::fLevel |
Definition at line 142 of file RLogger.hxx.
int ROOT::Experimental::RLogEntry::fLine = 0 |
Definition at line 141 of file RLogger.hxx.