OrocosComponentLibrary  2.6.0
Public Member Functions | Protected Member Functions | Protected Attributes
LoggingService Class Reference

This component is responsible for reading the logging configuration setting up the logging categories and connecting to the appenders. More...

#include <LoggingService.hpp>

List of all members.

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 > appenders_prop
std::vector< std::string > active_appenders
RTT::Operation< void(void)> logCategories_mtd
 Log all categories.

Detailed Description

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)

See also:
http://www.orocos.org/wiki/rtt/examples-and-tutorials/using-real-time-logging

Definition at line 23 of file LoggingService.hpp.


Member Data Documentation

RTT::Operation<void(void)> logCategories_mtd [protected]

Log all categories.

Warning:
Not realtime!

Definition at line 53 of file LoggingService.hpp.


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