18#ifndef LOG4CXX_DB_DB_APPENDER_H
19#define LOG4CXX_DB_DB_APPENDER_H
144 void activateOptions(helpers::Pool& p) override;
149 void append(const spi::LoggingEventPtr& event, helpers::Pool&) override;
151 void close() override;
156 bool requiresLayout()
const override
176 struct DBAppenderPriv;
Implementation base class for all appenders.
Definition: appenderskeleton.h:41
The DBAppender lets you log messages to a database.
Definition: dbappender.h:114
const LogString & getSql() const
Returns pre-formated statement eg: insert into LogTable (msg) values (?)
void setSql(const LogString &s)
Set pre-formated statement eg: insert into LogTable (msg) values (?)
#define LOG4CXX_EXPORT
Definition: log4cxx.h:101
#define LOG4CXX_PTR_DEF(T)
Definition: log4cxx.h:64
#define LOG4CXX_NS
Definition: log4cxx.h:104
std::basic_string< logchar > LogString
Definition: logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:43
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146