Apache Log4cxx  Version 1.8.0
Loading...
Searching...
No Matches
appender.h File Reference
#include <log4cxx/spi/optionhandler.h>
#include <log4cxx/helpers/object.h>
#include <vector>

Go to the source code of this file.

Classes

class  log4cxx::Appender
 Implement this interface for your own strategies for outputting log statements. More...

Namespaces

namespace  log4cxx
namespace  log4cxx::spi

Macros

#define LOG4CXX_APPEND_FORMAL_PARAMETERS   const spi::LoggingEventPtr& event, helpers::Pool& p
 Log in Appender specific way.
#define LOG4CXX_APPEND_PARAMETERS   event, p

Typedefs

typedef std::shared_ptr< LoggingEventlog4cxx::spi::LoggingEventPtr
typedef std::shared_ptr< Filterlog4cxx::spi::FilterPtr
typedef std::shared_ptr< ErrorHandlerlog4cxx::spi::ErrorHandlerPtr
typedef std::shared_ptr< Layoutlog4cxx::LayoutPtr

Functions

 log4cxx::LOG4CXX_PTR_DEF (Appender)
 log4cxx::LOG4CXX_LIST_DEF (AppenderList, AppenderPtr)

Macro Definition Documentation

◆ LOG4CXX_APPEND_FORMAL_PARAMETERS

#define LOG4CXX_APPEND_FORMAL_PARAMETERS   const spi::LoggingEventPtr& event, helpers::Pool& p

Log in Appender specific way.

When appropriate, Loggers will call the doAppend method of appender implementations in order to log.

Examples
custom-appender.cpp.

◆ LOG4CXX_APPEND_PARAMETERS

#define LOG4CXX_APPEND_PARAMETERS   event, p