#include <Logger.hpp>
Public Member Functions | |
Logger (const std::string &funcName, const int &lineNo, const std::string &fileName, severity_level level) | |
template<class T > | |
Logger & | operator<< (const T &v) |
~Logger () | |
Static Public Attributes | |
static severity_level | logginLevel = trace |
static bool | toConsole = false |
static bool | toFile = false |
static bool | toROS = true |
Private Attributes | |
severity_level | level |
std::stringstream | out |
bool |
Implementation logging to console and to a file
Definition at line 76 of file Logger.hpp.
brics_oodl::Logger::Logger | ( | const std::string & | funcName, |
const int & | lineNo, | ||
const std::string & | fileName, | ||
severity_level | level | ||
) |
Definition at line 61 of file Logger.cpp.
Definition at line 103 of file Logger.cpp.
Logger& brics_oodl::Logger::operator<< | ( | const T & | v | ) | [inline] |
Definition at line 92 of file Logger.hpp.
severity_level brics_oodl::Logger::level [private] |
Definition at line 80 of file Logger.hpp.
severity_level brics_oodl::Logger::logginLevel = trace [static] |
Definition at line 89 of file Logger.hpp.
std::stringstream brics_oodl::Logger::out [private] |
Definition at line 78 of file Logger.hpp.
bool brics_oodl::Logger::print [private] |
Definition at line 79 of file Logger.hpp.
bool brics_oodl::Logger::toConsole = false [static] |
Definition at line 86 of file Logger.hpp.
bool brics_oodl::Logger::toFile = false [static] |
Definition at line 87 of file Logger.hpp.
bool brics_oodl::Logger::toROS = true [static] |
Definition at line 88 of file Logger.hpp.