24#ifndef LOGGER_H_INCLUDED
25#define LOGGER_H_INCLUDED
50#define addMessageF(level, log) addMessage(level, log, __METHOD_CLASS_NAME__)
59#define LOG(level, log) \
60 Aqua::InputOutput::Logger::singleton()->addMessageF(level, log)
68#define LOG0(level, log) \
69 Aqua::InputOutput::Logger::singleton()->addMessage(level, log)
82namespace InputOutput {
150 std::string color =
"white",
205 struct timeval _start_time;
207 struct timeval _actual_time;
210 std::vector<int> _log_level;
212 std::vector<std::string> _log;
214 std::ofstream _log_file;
Singleton instance. (See Aqua::Singleton for details)
Simple but versatile singleton instance (Meyers singleton).
Definition: Singleton.h:57
Main AQUAgpusph namespace.
Definition: ArgumentsManager.cpp:45
TLogLevel
Definition: Logger.h:75
@ L_ERROR
Definition: Logger.h:79
@ L_WARNING
Definition: Logger.h:78
@ L_DEBUG
Definition: Logger.h:76
@ L_INFO
Definition: Logger.h:77
Set of definitions and macros related with the implementation.