Logger Class Reference

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 >
Loggeroperator<< (const T &v)

Static Public Attributes

static bool toConsole = true
static bool toFile = false
static bool toROS = false
static severity_level logginLevel = info

Detailed Description

Implementation logging to console and to a file.

Definition at line 77 of file Logger.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

Logger& operator<< ( const T &  v  )  [inline]

Definition at line 93 of file Logger.hpp.


Field Documentation

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.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3