FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairLogger Class Reference

#include <FairLogger.h>

Public Member Functions

void SetLogToScreen (bool enabled)
 
void SetLogScreenLevel (const char *severity)
 
void SetLogToFile (bool enabled)
 
void SetLogFileLevel (const char *severity)
 
void SetLogFileName (const std::string &name)
 
void SetColoredLog (bool enabled)
 
void SetLogVerbosityLevel (const char *verbosity)
 
bool IsLogNeeded (fair::Severity severity)
 
void Error (const char *file, const char *line, const char *func, const char *format,...) __attribute__((deprecated("Use 'LOG(error) << content
 
void Warning (const char *file, const char *line, const char *func, const char *format,...) __attribute__((deprecated("Use 'LOG(warn) << content
 
void Info (const char *file, const char *line, const char *func, const char *format,...) __attribute__((deprecated("Use 'LOG(info) << content
 
void Debug (const char *file, const char *line, const char *func, const char *format,...) __attribute__((deprecated("Use 'LOG(debug) << content
 
void Debug1 (const char *file, const char *line, const char *func, const char *format,...) __attribute__((deprecated("Use 'LOG(debug1) << content
 
void Debug2 (const char *file, const char *line, const char *func, const char *format,...) __attribute__((deprecated("Use 'LOG(debug2) << content
 
void Debug3 (const char *file, const char *line, const char *func, const char *format,...) __attribute__((deprecated("Use 'LOG(debug3) << content
 
void Debug4 (const char *file, const char *line, const char *func, const char *format,...) __attribute__((deprecated("Use 'LOG(debug4) << content
 
void SetScreenStreamToCerr (bool)
 

Static Public Member Functions

static FairLoggerGetLogger ()
 
static char const endl __attribute__ ((deprecated("Line break is now added automatically by the LOG macro, this variable only adds empty space.")))
 
static char const flush __attribute__ ((deprecated("Data is now flushed automatically by the LOG macro, this variable only adds empty space.")))
 

Public Attributes

bool IsLogNeeded(FairLogLevel
level) __attribute__((deprecated("Use
'IsLogNeeded(fair macro
interface 
instead
 
macro interface instead
 

Detailed Description

Definition at line 44 of file FairLogger.h.

Member Function Documentation

static char const endl FairLogger::__attribute__ ( (deprecated("Line break is now added automatically by the LOG macro, this variable only adds empty space."))  )
static
static char const flush FairLogger::__attribute__ ( (deprecated("Data is now flushed automatically by the LOG macro, this variable only adds empty space."))  )
static
void FairLogger::Debug ( const char *  file,
const char *  line,
const char *  func,
const char *  format,
  ... 
)

Definition at line 86 of file FairLogger.cxx.

void FairLogger::Debug1 ( const char *  file,
const char *  line,
const char *  func,
const char *  format,
  ... 
)

Definition at line 96 of file FairLogger.cxx.

void FairLogger::Debug2 ( const char *  file,
const char *  line,
const char *  func,
const char *  format,
  ... 
)

Definition at line 106 of file FairLogger.cxx.

void FairLogger::Debug3 ( const char *  file,
const char *  line,
const char *  func,
const char *  format,
  ... 
)

Definition at line 116 of file FairLogger.cxx.

void FairLogger::Debug4 ( const char *  file,
const char *  line,
const char *  func,
const char *  format,
  ... 
)

Definition at line 126 of file FairLogger.cxx.

void FairLogger::Error ( const char *  file,
const char *  line,
const char *  func,
const char *  format,
  ... 
)

Definition at line 56 of file FairLogger.cxx.

FairLogger * FairLogger::GetLogger ( )
static

Definition at line 39 of file FairLogger.cxx.

void FairLogger::Info ( const char *  file,
const char *  line,
const char *  func,
const char *  format,
  ... 
)

Definition at line 76 of file FairLogger.cxx.

bool FairLogger::IsLogNeeded ( fair::Severity  severity)

Definition at line 174 of file FairLogger.cxx.

void FairLogger::SetColoredLog ( bool  enabled)
inline

Definition at line 85 of file FairLogger.h.

void FairLogger::SetLogFileLevel ( const char *  severity)
inline

Definition at line 73 of file FairLogger.h.

void FairLogger::SetLogFileName ( const std::string &  name)
inline

Definition at line 79 of file FairLogger.h.

void FairLogger::SetLogScreenLevel ( const char *  severity)
inline

Definition at line 58 of file FairLogger.h.

void FairLogger::SetLogToFile ( bool  enabled)
inline

Definition at line 64 of file FairLogger.h.

void FairLogger::SetLogToScreen ( bool  enabled)
inline

Definition at line 49 of file FairLogger.h.

void FairLogger::SetLogVerbosityLevel ( const char *  verbosity)
inline

Definition at line 87 of file FairLogger.h.

void FairLogger::SetScreenStreamToCerr ( bool  )
inline

Definition at line 118 of file FairLogger.h.

void FairLogger::Warning ( const char *  file,
const char *  line,
const char *  func,
const char *  format,
  ... 
)

Definition at line 66 of file FairLogger.cxx.

Member Data Documentation

macro interface FairLogger::instead

Definition at line 90 of file FairLogger.h.

macro interface FairLogger::instead

Definition at line 97 of file FairLogger.h.


The documentation for this class was generated from the following files: