OrocosComponentLibrary
2.9.0
|
This component is responsible for reading the logging configuration setting up the logging categories and connecting to the appenders. More...
#include <LoggingService.hpp>
Public Member Functions | |
LoggingService (std::string name) | |
virtual bool | configureHook () |
Protected Member Functions | |
void | logCategories () |
Protected Attributes | |
RTT::Property< RTT::PropertyBag > | levels_prop |
RTT::Property< RTT::PropertyBag > | additivity_prop |
RTT::Property< RTT::PropertyBag > | appenders_prop |
std::vector< std::string > | active_appenders |
RTT::Operation< void(void)> | logCategories_mtd |
Log all categories. More... | |
This component is responsible for reading the logging configuration setting up the logging categories and connecting to the appenders.
You may have multiple LoggingService components, but each appender may only belong to one LoggingService. Usually, you'll only have one LoggingService per application.
Adding an Appender to the LoggingService is done with the addPeer() method of the TaskContext class, ie loggingservice->addPeer(fileappender)
Definition at line 23 of file LoggingService.hpp.
|
protected |