17 #ifndef _DECAF_UTIL_LOGGING_HANDLER_H_ 18 #define _DECAF_UTIL_LOGGING_HANDLER_H_ 81 virtual void flush() = 0;
87 virtual void publish(
const LogRecord& record ) = 0;
98 virtual bool isLoggable(
const LogRecord& record )
const;
110 this->filter = filter;
149 virtual void setFormatter(
Formatter* formatter );
156 return this->formatter;
167 virtual void setErrorManager(
ErrorManager* errorManager );
174 return this->errorManager;
The Level class defines a set of standard logging levels that can be used to control logging output...
Definition: Level.h:56
virtual Formatter * getFormatter()
Gets the Formatter used by this Handler.
Definition: Handler.h:155
LogRecord objects are used to pass logging requests between the logging framework and individual log ...
Definition: LogRecord.h:41
A Filter can be used to provide fine grain control over what is logged, beyond the control provided b...
Definition: Filter.h:35
virtual void setFilter(Filter *filter)
Sets the Filter that this Handler uses to filter Log Records.
Definition: Handler.h:109
ErrorManager objects can be attached to Handlers to process any error that occur on a Handler during ...
Definition: ErrorManager.h:42
virtual Level getLevel()
Get the log level specifying which message levels will be logged by this Handler. ...
Definition: Handler.h:138
virtual void setLevel(const Level &value)
Set the log level specifying which message levels will be logged by this Handler. ...
Definition: Handler.h:129
Interface for a class that implements the close method.
Definition: Closeable.h:30
A Handler object takes log messages from a Logger and exports them.
Definition: Handler.h:49
Definition: inftrees.h:24
virtual ErrorManager * getErrorManager()
Gets the ErrorManager used by this Handler.
Definition: Handler.h:173
#define DECAF_API
Definition: Config.h:29
Definition: Exception.h:38
virtual Filter * getFilter()
Gets the Filter that this Handler uses to filter Log Records.
Definition: Handler.h:117
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25