|
ROOT 6.16/01 Reference Guide |
A diagnostic, emitted by the TLogManager upon destruction of the TLogEntry.
One can construct a TLogEntry 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 135 of file TLogger.hxx.
Public Member Functions | |
| TLogEntry ()=default | |
| TLogEntry (ELogLevel level, std::string_view group) | |
| TLogEntry (ELogLevel level, std::string_view group, std::string_view filename, int line, std::string_view funcname) | |
| ~TLogEntry () | |
| TLogEntry & | SetFile (const std::string &file) |
| TLogEntry & | SetFunction (const std::string &func) |
| TLogEntry & | SetLine (int line) |
Public Attributes | |
| std::string | fFile |
| std::string | fFuncName |
| std::string | fGroup |
| ELogLevel | fLevel |
| int | fLine = 0 |
#include <ROOT/TLogger.hxx>
|
default |
|
inline |
Definition at line 145 of file TLogger.hxx.
|
inline |
Definition at line 146 of file TLogger.hxx.
|
inline |
Definition at line 166 of file TLogger.hxx.
|
inline |
Definition at line 150 of file TLogger.hxx.
|
inline |
Definition at line 155 of file TLogger.hxx.
|
inline |
Definition at line 160 of file TLogger.hxx.
| std::string ROOT::Experimental::TLogEntry::fFile |
Definition at line 138 of file TLogger.hxx.
| std::string ROOT::Experimental::TLogEntry::fFuncName |
Definition at line 139 of file TLogger.hxx.
| std::string ROOT::Experimental::TLogEntry::fGroup |
Definition at line 137 of file TLogger.hxx.
| ELogLevel ROOT::Experimental::TLogEntry::fLevel |
Definition at line 141 of file TLogger.hxx.
| int ROOT::Experimental::TLogEntry::fLine = 0 |
Definition at line 140 of file TLogger.hxx.