Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RLogScopedVerbosity Class Reference

Change the verbosity level (global or specific to the RLogChannel passed to the constructor) for the lifetime of this object.

Example:

Foo::SomethingToDebug();
Change the verbosity level (global or specific to the RLogChannel passed to the constructor) for the ...
Definition RLogger.hxx:243
@ kDebug
Debug information; only useful for developers; can have added verbosity up to 255-kDebug.

Definition at line 243 of file RLogger.hxx.

Public Member Functions

 RLogScopedVerbosity (ELogLevel verbosity)
 
 RLogScopedVerbosity (RLogChannel &channel, ELogLevel verbosity)
 
 ~RLogScopedVerbosity ()
 

Private Attributes

RLogChannelfChannel
 
ELogLevel fPrevLevel
 

#include <ROOT/RLogger.hxx>

Constructor & Destructor Documentation

◆ RLogScopedVerbosity() [1/2]

ROOT::Experimental::RLogScopedVerbosity::RLogScopedVerbosity ( RLogChannel channel,
ELogLevel  verbosity 
)
inline

Definition at line 248 of file RLogger.hxx.

◆ RLogScopedVerbosity() [2/2]

ROOT::Experimental::RLogScopedVerbosity::RLogScopedVerbosity ( ELogLevel  verbosity)
inlineexplicit

Definition at line 252 of file RLogger.hxx.

◆ ~RLogScopedVerbosity()

ROOT::Experimental::RLogScopedVerbosity::~RLogScopedVerbosity ( )
inline

Definition at line 253 of file RLogger.hxx.

Member Data Documentation

◆ fChannel

RLogChannel* ROOT::Experimental::RLogScopedVerbosity::fChannel
private

Definition at line 244 of file RLogger.hxx.

◆ fPrevLevel

ELogLevel ROOT::Experimental::RLogScopedVerbosity::fPrevLevel
private

Definition at line 245 of file RLogger.hxx.

  • core/foundation/inc/ROOT/RLogger.hxx