| |
|
| java.lang.Object org.objectweb.util.monolog.wrapper.common.AbstractFactory org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory
LoggerFactory | public class LoggerFactory extends AbstractFactory (Code) | | is the LoggerFactory for the wrapper to java.util.logging
author: S.Chassande-Barrioz |
CLASS | final public static String CLASS(Code) | | This constant means that this java log system must be initialize with
a xml file
|
DEFAULT | final public static String DEFAULT(Code) | | This constant means that this java log system must be initialize with
the default configuration
|
JAVALOG_CONFIGURATION | final public static String JAVALOG_CONFIGURATION(Code) | | This constant is used to initialize the factory with the configure method
|
JAVALOG_CONFIGURATION_CLASS | final public static String JAVALOG_CONFIGURATION_CLASS(Code) | | This constant is the properties class name with wich the java log system
must be initialized.
|
JAVALOG_CONFIGURATION_FILE | final public static String JAVALOG_CONFIGURATION_FILE(Code) | | This constant is the properties file name with wich the java log system
must be initialized.
|
PROPERTY | final public static String PROPERTY(Code) | | This constant means that this java log system must be initialize with
a property file
|
manager | protected static LogManager manager(Code) | | the LogManager of java.util.logging
|
rootLogger | protected static Logger rootLogger(Code) | | the root logger
|
LoggerFactory | public LoggerFactory()(Code) | | |
configure | public void configure(Properties prop) throws Exception(Code) | | This method permits to configure the factory.
The properties parameter must contains the JAVALOG_CONFIGURATION property.
Its value can be DEFAULT, PROPERTY or XML.
In the PROPERTY case of the properties parameter must also contain the
JAVALOG_CONFIGURATION_FILE property which the value is the configuration
file name.
In the CLASS case of the properties parameter must also contain the
JAVALOG_CONFIGURATION_CLASS property which the value is the configuration
class name which will initialized the java log system..
|
getDefaultHandlerType2className | protected String[][] getDefaultHandlerType2className()(Code) | | |
getMonoLogger | protected synchronized Logger getMonoLogger(String name, String resName)(Code) | | This method allocates org.objectweb.util.monolog.wrapper.javaLog.Logger
objects whic are also java.util.logging.Logger and
org.objectweb.util.monolog.api.Logger.
|
|
|
|