Object to handle output messages.
More...
#include <CLASSLogger.hxx>
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
◆ 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 |
( |
| ) |
|
◆ D()
Return the DEBUG Streamer.
◆ E()
Return the ERROR Streamer.
◆ GetCLASSLoggerName()
string CLASSLogger::GetCLASSLoggerName |
( |
| ) |
const |
|
inline |
◆ GetMaxOutPutLVL()
int CLASSLogger::GetMaxOutPutLVL |
( |
| ) |
const |
|
inline |
◆ GetVerboseLVL()
int CLASSLogger::GetVerboseLVL |
( |
| ) |
const |
|
inline |
◆ I()
Return the INFO Streamer.
◆ W()
Return the WARNING Streamer.
The documentation for this class was generated from the following files: