| org.objectweb.util.monolog.api.Handler
All known Subclasses: org.objectweb.util.monolog.wrapper.javaLog.GenericHandler, org.objectweb.util.monolog.wrapper.config.BasicHandler, org.objectweb.util.monolog.wrapper.log4j.ConsoleHandler, org.objectweb.util.monolog.wrapper.log4j.FileHandler, org.objectweb.util.monolog.wrapper.log4j.JMXHandler, org.objectweb.util.monolog.wrapper.log4jMini.FileHandler, org.objectweb.util.monolog.wrapper.log4j.RollingFileHandler, org.objectweb.util.monolog.wrapper.log4j.NTEventLogHandler, org.objectweb.util.monolog.wrapper.log4j.GenericHandler,
Handler | public interface Handler (Code) | | Handler is an output. For example a
handler might be a console, a file, a socket, or a Logger.
author: Sebastien Chassande-Barrioz |
CONSOLE_HANDLER_TYPE | byte CONSOLE_HANDLER_TYPE(Code) | | This constant is used to represent an handler which prints message on
a console.
|
FILE_HANDLER_TYPE | byte FILE_HANDLER_TYPE(Code) | | This constant is used to represent an handler which stores message into
one file.
|
GENERIC_HANDLER_TYPE | byte GENERIC_HANDLER_TYPE(Code) | | This constant is used to represent an handler which stores message into
several files.
|
JMX_HANDLER_TYPE | byte JMX_HANDLER_TYPE(Code) | | This constant is used to represent a handler witch is a JMX notification emetter.
|
LOGGER_HANDLER_TYPE | byte LOGGER_HANDLER_TYPE(Code) | | This constant is used to represent an handler which is a Logger.
|
ROLLING_FILE_HANDLER_TYPE | byte ROLLING_FILE_HANDLER_TYPE(Code) | | This constant is used to represent an handler which stores message into
several files.
|
getAttribute | Object getAttribute(String name)(Code) | | It retrieves the value of an attribute value of the handler.
Parameters: name - is an attribute name |
getAttributeNames | String[] getAttributeNames()(Code) | | It retrieves the attributes of the handler
|
getName | String getName()(Code) | | It retrieves the name of the handler
|
getType | String getType()(Code) | | It retrieves the Handler type
|
setAttribute | Object setAttribute(String name, Object value)(Code) | | It assigns an attributte to the handler.
Parameters: name - is the attribute name Parameters: value - is the attribute value the old value is the attribute was already defined |
setName | void setName(String name)(Code) | | It assigns the name of the handler
|
|
|