Public Member Functions | Protected Member Functions | Protected Attributes
OCL::logging::LoggingService Class Reference

#include <LoggingService.hpp>

Inheritance diagram for OCL::logging::LoggingService:
Inheritance graph
[legend]

List of all members.

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::PropertyBagadditivity_prop
RTT::Property< RTT::PropertyBagappenders_prop
RTT::Property< RTT::PropertyBaglevels_prop
RTT::Operation< void(void)> logCategories_mtd

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.


Constructor & Destructor Documentation

Definition at line 19 of file LoggingService.cpp.

Definition at line 32 of file LoggingService.cpp.


Member Function Documentation

Reimplemented from RTT::base::TaskCore.

Definition at line 36 of file LoggingService.cpp.

Definition at line 218 of file LoggingService.cpp.


Member Data Documentation

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.

Log all categories

Warning:
Not realtime!

Definition at line 55 of file LoggingService.hpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Sat Jun 8 2019 18:48:55