Implementation logging to console and to a file. More...
#include <Logger.hpp>
Public Member Functions | |
Logger (const std::string &funcName, const int &lineNo, const std::string &fileName, severity_level level) | |
~Logger () | |
template<class T > | |
Logger & | operator<< (const T &v) |
Static Public Attributes | |
static bool | toConsole = true |
static bool | toFile = false |
static bool | toROS = false |
static severity_level | logginLevel = info |
Implementation logging to console and to a file.
Definition at line 77 of file Logger.hpp.
Logger | ( | const std::string & | funcName, | |
const int & | lineNo, | |||
const std::string & | fileName, | |||
severity_level | level | |||
) |
Definition at line 61 of file Logger.cpp.
~Logger | ( | ) |
Definition at line 108 of file Logger.cpp.
Logger& operator<< | ( | const T & | v | ) | [inline] |
Definition at line 93 of file Logger.hpp.
severity_level logginLevel = info [static] |
Definition at line 90 of file Logger.hpp.
bool toConsole = true [static] |
Definition at line 87 of file Logger.hpp.
bool toFile = false [static] |
Definition at line 88 of file Logger.hpp.
bool toROS = false [static] |
Definition at line 89 of file Logger.hpp.