#include <Appender.hpp>
Public Member Functions | |
Appender (std::string name) | |
virtual bool | configureLayout () |
virtual bool | startHook () |
ensure port is connected before we start | |
virtual | ~Appender () |
Protected Attributes | |
log4cpp::Appender * | appender |
Appender created by derived class. | |
RTT::Property< std::string > | layoutName_prop |
Layout name (e.g. "simple", "basic", "pattern") | |
RTT::Property< std::string > | layoutPattern_prop |
Layout conversion pattern (for those layouts that use a pattern) | |
RTT::InputPort < OCL::logging::LoggingEvent > | log_port |
Definition at line 16 of file Appender.hpp.
OCL::logging::Appender::Appender | ( | std::string | name | ) |
Definition at line 12 of file Appender.cpp.
OCL::logging::Appender::~Appender | ( | ) | [virtual] |
Definition at line 24 of file Appender.cpp.
bool OCL::logging::Appender::configureLayout | ( | ) | [virtual] |
Optionally create a layout according to layoutName and layoutPattern.
Definition at line 28 of file Appender.cpp.
bool OCL::logging::Appender::startHook | ( | ) | [virtual] |
ensure port is connected before we start
Reimplemented from RTT::base::TaskCore.
Definition at line 68 of file Appender.cpp.
log4cpp::Appender* OCL::logging::Appender::appender [protected] |
Appender created by derived class.
Definition at line 37 of file Appender.hpp.
RTT::Property<std::string> OCL::logging::Appender::layoutName_prop [protected] |
Layout name (e.g. "simple", "basic", "pattern")
Definition at line 41 of file Appender.hpp.
RTT::Property<std::string> OCL::logging::Appender::layoutPattern_prop [protected] |
Layout conversion pattern (for those layouts that use a pattern)
Definition at line 43 of file Appender.hpp.
Port we receive logging events on Initially unconnected. The logging service connects appenders.
Definition at line 34 of file Appender.hpp.