$search
#include <Log4cxxAppender.hpp>
Public Member Functions | |
Log4cxxAppender (std::string name) | |
virtual | ~Log4cxxAppender () |
Protected Member Functions | |
virtual void | cleanupHook () |
virtual bool | configureHook () |
virtual void | updateHook () |
Protected Attributes | |
log4cxx::helpers::InetAddressPtr | address |
std::string | hostname_prop |
Name of host to append to. | |
RTT::InputPort < OCL::logging::LoggingEvent > | log_port |
int | maxEventsPerCycle |
int | maxEventsPerCycle_prop |
log4cxx::helpers::Pool | p |
int | port_prop |
The port where the logging server runs. | |
log4cxx::net::SocketAppender * | socketAppender |
Definition at line 36 of file Log4cxxAppender.hpp.
OCL::logging::Log4cxxAppender::Log4cxxAppender | ( | std::string | name | ) |
Definition at line 43 of file Log4cxxAppender.cpp.
OCL::logging::Log4cxxAppender::~Log4cxxAppender | ( | ) | [virtual] |
Definition at line 57 of file Log4cxxAppender.cpp.
void OCL::logging::Log4cxxAppender::cleanupHook | ( | ) | [protected, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 144 of file Log4cxxAppender.cpp.
bool OCL::logging::Log4cxxAppender::configureHook | ( | ) | [protected, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 61 of file Log4cxxAppender.cpp.
void OCL::logging::Log4cxxAppender::updateHook | ( | ) | [protected, virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 95 of file Log4cxxAppender.cpp.
log4cxx::helpers::InetAddressPtr OCL::logging::Log4cxxAppender::address [protected] |
Definition at line 49 of file Log4cxxAppender.hpp.
std::string OCL::logging::Log4cxxAppender::hostname_prop [protected] |
Name of host to append to.
Definition at line 56 of file Log4cxxAppender.hpp.
Port we receive logging events on Initially unconnected. The logging service connects appenders.
Definition at line 53 of file Log4cxxAppender.hpp.
int OCL::logging::Log4cxxAppender::maxEventsPerCycle [protected] |
Maximum number of log events to pop per cycle
Defaults to 1.
A value of 0 indicates to not limit the number of events per cycle. With enough event production, this could lead to thread starvation!
Definition at line 74 of file Log4cxxAppender.hpp.
int OCL::logging::Log4cxxAppender::maxEventsPerCycle_prop [protected] |
Property to set maximum number of log events to pop per cycle
Definition at line 63 of file Log4cxxAppender.hpp.
log4cxx::helpers::Pool OCL::logging::Log4cxxAppender::p [protected] |
Definition at line 47 of file Log4cxxAppender.hpp.
int OCL::logging::Log4cxxAppender::port_prop [protected] |
The port where the logging server runs.
Definition at line 59 of file Log4cxxAppender.hpp.
log4cxx::net::SocketAppender* OCL::logging::Log4cxxAppender::socketAppender [protected] |
Definition at line 48 of file Log4cxxAppender.hpp.