Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
logging.hxx File Reference
#include <iostream>
Include dependency graph for logging.hxx:
This graph shows which files directly or indirectly include this file:

Classes

class  Detail::NullBuf
class  Detail::NullStream

Namespaces

namespace  Detail
 Basic logging utilities meant to be used by binaries.

Functions

std::ostream & Err ()
int GetLogVerbosity ()
NullStreamDetail::GetNullStream ()
std::ostream & Info (int minLevel)
void InitLog (const char *name, int defaultVerbosity=1)
void SetLogVerbosity (int verbosity)
std::ostream & Warn ()

Variables

const char * Detail::gLogName = ""
int Detail::gLogVerbosity = 1
 Log verbosity works this way: If it's <= 0, all warnings are suppressed.

Function Documentation

◆ Err()

std::ostream & Err ( )
inline

Definition at line 55 of file logging.hxx.

◆ GetLogVerbosity()

int GetLogVerbosity ( )
inline

Definition at line 50 of file logging.hxx.

◆ Info()

std::ostream & Info ( int minLevel)
inline

Definition at line 68 of file logging.hxx.

◆ InitLog()

void InitLog ( const char * name,
int defaultVerbosity = 1 )
inline

Definition at line 39 of file logging.hxx.

◆ SetLogVerbosity()

void SetLogVerbosity ( int verbosity)
inline

Definition at line 45 of file logging.hxx.

◆ Warn()

std::ostream & Warn ( )
inline

Definition at line 61 of file logging.hxx.