AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Enumerations
Logger.h File Reference

Terminal output, with Log automatic copying. (See Aqua::InputOutput::Logger for details) More...

#include <sphPrerequisites.h>
#include <string>
#include <fstream>
#include <vector>
#include <CL/cl.h>
#include <InputOutput/Report.h>
#include <Singleton.h>
Include dependency graph for Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Aqua::InputOutput::Logger
 On screen and log file output manager. More...
 

Namespaces

namespace  Aqua
 Main AQUAgpusph namespace.
 
namespace  Aqua::InputOutput
 Input/Output data interfaces.
 

Macros

#define addMessageF(level, log)   addMessage(level, log, __METHOD_CLASS_NAME__)
 
#define LOG(level, log)    Aqua::InputOutput::Logger::singleton()->addMessageF(level, log)
 
#define LOG0(level, log)    Aqua::InputOutput::Logger::singleton()->addMessage(level, log)
 

Enumerations

enum  Aqua::TLogLevel { Aqua::L_DEBUG , Aqua::L_INFO , Aqua::L_WARNING , Aqua::L_ERROR }
 

Detailed Description

Terminal output, with Log automatic copying. (See Aqua::InputOutput::Logger for details)

Macro Definition Documentation

◆ addMessageF

#define addMessageF (   level,
  log 
)    addMessage(level, log, __METHOD_CLASS_NAME__)

Overloaded version of Aqua::InputOutput::Logger::addMessage() method, which is automatically setting the class and function names.

◆ LOG

#define LOG (   level,
  log 
)     Aqua::InputOutput::Logger::singleton()->addMessageF(level, log)

Overloaded version of Aqua::InputOutput::Logger::singleton()->addMessageF(), such that this macro can ve conveniently called to fill the log file.

◆ LOG0

#define LOG0 (   level,
  log 
)     Aqua::InputOutput::Logger::singleton()->addMessage(level, log)

Overloaded version of Aqua::InputOutput::Logger::singleton()->addMessage(), such that this macro can ve conveniently called to fill the log file.