#include <atomic>
#include <list>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <utility>
Classes | |
class | ROOT::Experimental::Detail::RLogBuilder |
Builds a diagnostic entry, emitted by the static RLogManager upon destruction of this builder, where - by definition - the RLogEntry has been completely built. More... | |
class | ROOT::Experimental::RLogChannel |
A log configuration for a channel, e.g. More... | |
class | ROOT::Experimental::RLogDiagCount |
Keep track of emitted errors and warnings. More... | |
class | ROOT::Experimental::RLogEntry |
A diagnostic that can be emitted by the RLogManager. More... | |
class | ROOT::Experimental::RLogHandler |
Abstract RLogHandler base class. More... | |
struct | ROOT::Experimental::RLogLocation |
A diagnostic location, part of an RLogEntry. More... | |
class | ROOT::Experimental::RLogManager |
A RLogHandler that multiplexes diagnostics to different client RLogHandler s and keeps track of the sum of RLogDiagCount s for all channels. More... | |
class | ROOT::Experimental::RLogScopedDiagCount |
Object to count the number of warnings and errors emitted by a section of code, after construction of this type. More... | |
class | ROOT::Experimental::RLogScopedVerbosity |
Change the verbosity level (global or specific to the RLogChannel passed to the constructor) for the lifetime of this object. More... | |
Namespaces | |
namespace | ROOT |
This file contains a specialised ROOT message handler to test for diagnostic in unit tests. | |
namespace | ROOT::Experimental |
namespace | ROOT::Experimental::Detail |
namespace | ROOT::Experimental::Internal |
Macros | |
#define | R__LOG_PRETTY_FUNCTION __PRETTY_FUNCTION__ |
#define | R__LOG_TO_CHANNEL(SEVERITY, CHANNEL) |
LogMacros | |
Macros to log diagnostics. RLogScopedVerbosity verbose(kDebug + 5);
const int decreasedInfoLevel = 5;
| |
#define | R__LOG_DEBUG(DEBUGLEVEL, ...) R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kDebug + DEBUGLEVEL, __VA_ARGS__) |
#define | R__LOG_ERROR(...) R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kError, __VA_ARGS__) |
#define | R__LOG_FATAL(...) R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kFatal, __VA_ARGS__) |
#define | R__LOG_INFO(...) R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kInfo, __VA_ARGS__) |
#define | R__LOG_WARNING(...) R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kWarning, __VA_ARGS__) |
Enumerations | |
enum class | ROOT::Experimental::ELogLevel : unsigned char { ROOT::Experimental::kUnset , ROOT::Experimental::kFatal , ROOT::Experimental::kError , ROOT::Experimental::kWarning , ROOT::Experimental::kInfo , ROOT::Experimental::kDebug } |
Kinds of diagnostics. More... | |
Functions | |
RLogChannel & | ROOT::Experimental::Internal::GetChannelOrManager () |
RLogChannel & | ROOT::Experimental::Internal::GetChannelOrManager (RLogChannel &channel) |
ELogLevel | ROOT::Experimental::operator+ (ELogLevel severity, int offset) |
Definition in file RLogger.hxx.
#define R__LOG_DEBUG | ( | DEBUGLEVEL, | |
... | |||
) | R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kDebug + DEBUGLEVEL, __VA_ARGS__) |
Definition at line 365 of file RLogger.hxx.
#define R__LOG_ERROR | ( | ... | ) | R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kError, __VA_ARGS__) |
Definition at line 362 of file RLogger.hxx.
#define R__LOG_FATAL | ( | ... | ) | R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kFatal, __VA_ARGS__) |
Definition at line 361 of file RLogger.hxx.
#define R__LOG_INFO | ( | ... | ) | R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kInfo, __VA_ARGS__) |
Definition at line 364 of file RLogger.hxx.
#define R__LOG_PRETTY_FUNCTION __PRETTY_FUNCTION__ |
Definition at line 326 of file RLogger.hxx.
#define R__LOG_TO_CHANNEL | ( | SEVERITY, | |
CHANNEL | |||
) |
Definition at line 344 of file RLogger.hxx.
#define R__LOG_WARNING | ( | ... | ) | R__LOG_TO_CHANNEL(ROOT::Experimental::ELogLevel::kWarning, __VA_ARGS__) |
Definition at line 363 of file RLogger.hxx.