A very simple logging class. More...
#include <acado_message_handling.hpp>
Public Member Functions | |
std::ostream & | get (returnValueLevel level) |
returnValueLevel | getLogLevel () |
Logger & | setLogLevel (returnValueLevel level) |
Static Public Member Functions | |
static Logger & | instance () |
Private Member Functions | |
Logger () | |
Logger (const Logger &) | |
Logger & | operator= (const Logger &) |
~Logger () | |
Private Attributes | |
returnValueLevel | logLevel |
Logger::Logger | ( | ) | [inline, private] |
Definition at line 177 of file acado_message_handling.hpp.
Logger::Logger | ( | const Logger & | ) | [private] |
Logger::~Logger | ( | ) | [inline, private] |
Definition at line 183 of file acado_message_handling.hpp.
ostream & Logger::get | ( | returnValueLevel | level | ) |
Get a reference to the output stream.
Definition at line 608 of file acado_message_handling.cpp.
returnValueLevel Logger::getLogLevel | ( | ) | [inline] |
Get log level.
Definition at line 166 of file acado_message_handling.hpp.
static Logger& Logger::instance | ( | ) | [inline, static] |
Get an instance of the logger.
Definition at line 151 of file acado_message_handling.hpp.
Logger& Logger::setLogLevel | ( | returnValueLevel | level | ) | [inline] |
Set the log level.
Definition at line 158 of file acado_message_handling.hpp.
returnValueLevel Logger::logLevel [private] |
Definition at line 175 of file acado_message_handling.hpp.