org.objectweb.util.monolog.wrapper.log4j
Class MonologLoggerFactory
- Configurable, HandlerFactory, LevelFactory, LoggerFactory, MonologFactory
public class MonologLoggerFactory
This class wraps the LoggerFactory, HandlerFactory, LevelFactory concepts
into the log4j world. This implementation supports also the Configurable
interface. Then it is possible to specify a log4j configuration file.
- Sebastien Chassande-Barrioz
MonologLoggerFactory() - It intializes the data struture, defines the default level and the root
logger.
|
configure , createHandler , debug , defineLevel , defineLevel , getDefaultHandlerType2className , getHandler , getHandlers , getLevel , getLevel , getLevels , getLogger , getLoggers , getResourceBundleName , getWrapperName , initHandlerType2className , removeHandler , removeLevel , setResourceBundleName , warn |
LOG4J_CF_PROP
public static final String LOG4J_CF_PROP
LOG4J_CF_VALUE
public static final String LOG4J_CF_VALUE
rootLogger
protected Logger rootLogger
The root logger of the logger hierarchy
MonologLoggerFactory
public MonologLoggerFactory()
It intializes the data struture, defines the default level and the root
logger.
configure
public void configure(Properties prop)
throws Exception
This method permits to configure the factory with tha specific
configuration file: like a log4j.properties
- configure in interface MonologFactory
- configure in interface AbstractFactory
getDefaultHandlerType2className
protected String[][] getDefaultHandlerType2className()
- getDefaultHandlerType2className in interface AbstractFactory
getWrapperName
public String getWrapperName()
- getWrapperName in interface AbstractFactory