12#include <log4cplus/logger.h>
13#include <log4cplus/spi/loggingevent.h>
14#include <boost/shared_ptr.hpp>
34typedef boost::shared_ptr<log4cplus::spi::InternalLoggingEvent>
LogEventPtr;
96 virtual void append(
const log4cplus::spi::InternalLoggingEvent& event);
This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Buffering Logger Appender.
size_t getBufferSize() const
Returns the number of stored logging events.
virtual ~BufferAppender()
Destructor.
virtual void append(const log4cplus::spi::InternalLoggingEvent &event)
void flush()
Flush the internal buffer.
virtual void close()
Close the appender.
BufferAppender()
Constructor.
LogBufferAddAfterFlush(const char *file, size_t line, const char *what)
std::pair< std::string, LogEventPtr > LevelAndEvent
Convenience typedef for a pair string/logeventptr, the string representing the logger level,...
std::vector< LevelAndEvent > LogEventList
Convenience typedef for a vector of LevelAndEvent instances.
boost::shared_ptr< log4cplus::spi::InternalLoggingEvent > LogEventPtr
Convenience typedef for a pointer to a log event.
Defines the logger used by the top-level component of kea-lfc.