Public Member Functions | Static Public Attributes | Private Attributes
brics_oodl::Logger Class Reference

#include <Logger.hpp>

List of all members.

Public Member Functions

 Logger (const std::string &funcName, const int &lineNo, const std::string &fileName, severity_level level)
template<class T >
Loggeroperator<< (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 print

Detailed Description

Implementation logging to console and to a file

Definition at line 76 of file Logger.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

template<class T >
Logger& brics_oodl::Logger::operator<< ( const T &  v) [inline]

Definition at line 92 of file Logger.hpp.


Member Data Documentation

Definition at line 80 of file Logger.hpp.

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.


The documentation for this class was generated from the following files:


cob_sick_s300
Author(s): Florian Weisshardt
autogenerated on Sun Oct 5 2014 23:05:19