org.objectweb.util.monolog.wrapper.log4j
Class RollingFileHandler
RollingFileAppender
org.objectweb.util.monolog.wrapper.log4j.RollingFileHandler
- Handler
public class RollingFileHandler
extends RollingFileAppender
This class is the wrapper to the org.apache.log4j.RollingFileAppender
- Sebastien Chassande-Barrioz
protected HashMap | prop - This fields contains the properties of the Handler
|
APPEND_MODE_ATTRIBUTE , BUFFER_ATTRIBUTE , CONSOLE_HANDLER_TYPE , FILE_HANDLER_TYPE , FILE_NUMBER_ATTRIBUTE , GENERIC_HANDLER_TYPE , LEVEL_ATTRIBUTE , LOGGER_HANDLER_TYPE , MAX_SIZE_ATTRIBUTE , OUTPUT_ATTRIBUTE , PATTERN_ATTRIBUTE , ROLLING_FILE_HANDLER_TYPE |
prop
protected HashMap prop
This fields contains the properties of the Handler
RollingFileHandler
public RollingFileHandler()
RollingFileHandler
public RollingFileHandler(String name)
It Builds a new MonologFileHandler. It is needed to specify an handler
type.
name
- is the handler name.
getAttributes
public Map getAttributes()
setAttribute
public Object setAttribute(String key,
Object value)
- setAttribute in interface Handler
setAttributes
public void setAttributes(Map attributes)