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

#include <Log4cxxAppender.hpp>

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

List of all members.

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

Detailed Description

Interoperability component which translates our log4cpp events to log4cxx events and sends them to a network/socket appender.

Definition at line 40 of file Log4cxxAppender.hpp.


Constructor & Destructor Documentation

Definition at line 43 of file Log4cxxAppender.cpp.

Definition at line 57 of file Log4cxxAppender.cpp.


Member Function Documentation

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.


Member Data Documentation

log4cxx::helpers::InetAddressPtr OCL::logging::Log4cxxAppender::address [protected]

Definition at line 53 of file Log4cxxAppender.hpp.

Name of host to append to.

Definition at line 60 of file Log4cxxAppender.hpp.

Port we receive logging events on Initially unconnected. The logging service connects appenders.

Definition at line 57 of file Log4cxxAppender.hpp.

Maximum number of log events to pop per cycle

Defaults to 0.

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 78 of file Log4cxxAppender.hpp.

Property to set maximum number of log events to pop per cycle

Definition at line 67 of file Log4cxxAppender.hpp.

log4cxx::helpers::Pool OCL::logging::Log4cxxAppender::p [protected]

Definition at line 51 of file Log4cxxAppender.hpp.

The port where the logging server runs.

Definition at line 63 of file Log4cxxAppender.hpp.

log4cxx::net::SocketAppender* OCL::logging::Log4cxxAppender::socketAppender [protected]

Definition at line 52 of file Log4cxxAppender.hpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Mon Sep 14 2015 14:21:47