#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 = info |
static bool | toConsole = true |
static bool | toFile = false |
static bool | toROS = false |
Private Attributes | |
severity_level | level |
std::stringstream | out |
bool |
Implementation logging to console and to a file
Definition at line 74 of file Logger.hpp.
youbot::Logger::Logger | ( | const std::string & | funcName, |
const int & | lineNo, | ||
const std::string & | fileName, | ||
severity_level | level | ||
) |
Definition at line 62 of file Logger.cpp.
Definition at line 118 of file Logger.cpp.
Logger& youbot::Logger::operator<< | ( | const T & | v | ) | [inline] |
Definition at line 91 of file Logger.hpp.
severity_level youbot::Logger::level [private] |
Definition at line 79 of file Logger.hpp.
severity_level youbot::Logger::logginLevel = info [static] |
Definition at line 88 of file Logger.hpp.
std::stringstream youbot::Logger::out [private] |
Definition at line 77 of file Logger.hpp.
bool youbot::Logger::print [private] |
Definition at line 78 of file Logger.hpp.
bool youbot::Logger::toConsole = true [static] |
Definition at line 85 of file Logger.hpp.
bool youbot::Logger::toFile = false [static] |
Definition at line 86 of file Logger.hpp.
bool youbot::Logger::toROS = false [static] |
Definition at line 87 of file Logger.hpp.