#include <LoggingService.hpp>
Public Member Functions | |
virtual bool | configureHook () |
LoggingService (std::string name) | |
virtual | ~LoggingService () |
Protected Member Functions | |
void | logCategories () |
Protected Attributes | |
std::vector< std::string > | active_appenders |
RTT::Property< RTT::PropertyBag > | additivity_prop |
RTT::Property< RTT::PropertyBag > | appenders_prop |
RTT::Property< RTT::PropertyBag > | levels_prop |
RTT::Operation< void(void)> | logCategories_mtd |
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.
OCL::logging::LoggingService::LoggingService | ( | std::string | name | ) |
Definition at line 19 of file LoggingService.cpp.
OCL::logging::LoggingService::~LoggingService | ( | ) | [virtual] |
Definition at line 32 of file LoggingService.cpp.
bool OCL::logging::LoggingService::configureHook | ( | ) | [virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 36 of file LoggingService.cpp.
void OCL::logging::LoggingService::logCategories | ( | ) | [protected] |
Definition at line 218 of file LoggingService.cpp.
std::vector<std::string> OCL::logging::LoggingService::active_appenders [protected] |
Definition at line 51 of file LoggingService.hpp.
Definition at line 47 of file LoggingService.hpp.
Definition at line 49 of file LoggingService.hpp.
Definition at line 45 of file LoggingService.hpp.
RTT::Operation<void(void)> OCL::logging::LoggingService::logCategories_mtd [protected] |