#include <rmol/service/Logger.hpp>
Public Member Functions | |
template<typename T > | |
void | log (const LOG::EN_LogLevel iLevel, const int iLineNumber, const std::string &iFileName, const T &iToBeLogged) |
LOG::EN_LogLevel | getLogLevel () |
std::ostream & | getLogStream () |
void | setLogParameters (const LOG::EN_LogLevel iLogLevel, std::ostream &ioLogStream) |
Static Public Member Functions | |
static Logger & | instance () |
Friends | |
class | FacSupervisor |
Definition at line 45 of file Logger.hpp.
void RMOL::Logger::log | ( | const LOG::EN_LogLevel | iLevel, | |
const int | iLineNumber, | |||
const std::string & | iFileName, | |||
const T & | iToBeLogged | |||
) | [inline] |
Main log entry.
Definition at line 52 of file Logger.hpp.
LOG::EN_LogLevel RMOL::Logger::getLogLevel | ( | ) |
Get the log level.
Definition at line 37 of file Logger.cpp.
std::ostream & RMOL::Logger::getLogStream | ( | ) |
get the log stream.
Definition at line 42 of file Logger.cpp.
void RMOL::Logger::setLogParameters | ( | const LOG::EN_LogLevel | iLogLevel, | |
std::ostream & | ioLogStream | |||
) |
Set the logger parameters (level and stream).
Definition at line 48 of file Logger.cpp.
Logger & RMOL::Logger::instance | ( | ) | [static] |
Returns a current Logger instance.
Definition at line 55 of file Logger.cpp.
References RMOL::LOG::DEBUG.
friend class FacSupervisor [friend] |
Definition at line 47 of file Logger.hpp.
Generated on Sat Jun 6 13:49:10 2009 for RMOL by Doxygen 1.5.7.1