CLASS  5.1
Fuel Cycle Simulator
CLASSLogger Class Reference

Object to handle output messages. More...

#include <CLASSLogger.hxx>

Public Member Functions

Constructor/Desctructor
 CLASSLogger (string CLASSLoggerName="CLASS_OUTPUT.log", int VerboseLvl=0, int OutputLvl=1)
 Normal Constructor. More...
 
 ~CLASSLogger ()
 Normal Destructor. More...
 
In/Out
string GetCLASSLoggerName () const
 return the CLASSLogger name More...
 
int GetMaxOutPutLVL () const
 Return File Output lvl. More...
 
int GetVerboseLVL () const
 
LogType E ()
 Return the ERROR Streamer. More...
 
LogType W ()
 Return the WARNING Streamer. More...
 
LogType I ()
 Return the INFO Streamer. More...
 
LogType D ()
 Return the DEBUG Streamer. More...
 

Detailed Description

Object to handle output messages.

Define a CLASSLogger. The aim of this class is to centralize the all CLASS software message inside a file.

Author
BaM
Version
2.0

Constructor & Destructor Documentation

◆ CLASSLogger()

CLASSLogger::CLASSLogger ( string  CLASSLoggerName = "CLASS_OUTPUT.log",
int  VerboseLvl = 0,
int  OutputLvl = 1 
)

Normal Constructor.

Make a new LogType

Parameters
CLASSLoggerName: name of the CLASSLogFile wnated for the log
VerboseLvl: verbose level in terminal
OutputLvl: verbose level in the CLASSLogFile

The different available levels are :

  • 0 : ERROR only
  • 1 : WARNING + lvl 0
  • 2 : INFO + lvl 1
  • 3 : DEBUG + lvl 2

◆ ~CLASSLogger()

CLASSLogger::~CLASSLogger ( )

Normal Destructor.

Member Function Documentation

◆ D()

LogType CLASSLogger::D ( )
inline

Return the DEBUG Streamer.

◆ E()

LogType CLASSLogger::E ( )
inline

Return the ERROR Streamer.

◆ GetCLASSLoggerName()

string CLASSLogger::GetCLASSLoggerName ( ) const
inline

return the CLASSLogger name

◆ GetMaxOutPutLVL()

int CLASSLogger::GetMaxOutPutLVL ( ) const
inline

Return File Output lvl.

◆ GetVerboseLVL()

int CLASSLogger::GetVerboseLVL ( ) const
inline

◆ I()

LogType CLASSLogger::I ( )
inline

Return the INFO Streamer.

◆ W()

LogType CLASSLogger::W ( )
inline

Return the WARNING Streamer.


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