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) | |
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 77 of file Logger.hpp.
youbot::Logger::Logger | ( | const std::string & | funcName, |
const int & | lineNo, | ||
const std::string & | fileName, | ||
severity_level | level | ||
) |
Definition at line 61 of file Logger.cpp.
youbot::Logger::~Logger | ( | ) |
Definition at line 108 of file Logger.cpp.
|
inline |
Definition at line 93 of file Logger.hpp.
|
private |
Definition at line 81 of file Logger.hpp.
|
static |
Definition at line 90 of file Logger.hpp.
|
private |
Definition at line 79 of file Logger.hpp.
|
private |
Definition at line 80 of file Logger.hpp.
|
static |
Definition at line 87 of file Logger.hpp.
|
static |
Definition at line 88 of file Logger.hpp.
|
static |
Definition at line 89 of file Logger.hpp.