7 #ifndef LOGGER_MANAGER_IMPL_H
8 #define LOGGER_MANAGER_IMPL_H
12 #include <log4cplus/appender.h>
25 class LoggerSpecification;
84 int dbglevel = 0,
bool buffer =
false);
104 static void createConsoleAppender(log4cplus::Logger&
logger,
115 static void createFileAppender(log4cplus::Logger&
logger,
125 static void createSyslogAppender(log4cplus::Logger&
logger,
135 static void createBufferAppender(log4cplus::Logger&
logger);
148 int dbglevel = 0,
bool buffer =
false);
157 static void setAppenderLayout(log4cplus::SharedAppenderPtr& appender,
158 std::string pattern);
166 void storeBufferAppenders();
172 void flushBufferAppenders();
177 std::vector<log4cplus::SharedAppenderPtr> buffer_appender_store_;
183 #endif // LOGGER_MANAGER_IMPL_H
void processEnd()
End Processing.
void processInit()
Initialize Processing.
static void reset(isc::log::Severity severity=isc::log::INFO, int dbglevel=0)
Reset logging.
Logger Manager Implementation.
static void processSpecification(const LoggerSpecification &spec)
Process Specification.
Defines the logger used by the top-level component of kea-dhcp-ddns.
isc::log::Logger logger("asiodns")
Use the ASIO logger.
static void init(isc::log::Severity severity=isc::log::INFO, int dbglevel=0, bool buffer=false)
Implementation-specific initialization.
LoggerManagerImpl()
Constructor.