| |
|
| java.lang.Object org.objectweb.util.monolog.wrapper.common.AbstractFactory
All known Subclasses: org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory, org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory,
CLASSLOADER_ISOLATION | final public static String CLASSLOADER_ISOLATION(Code) | | |
classLoaderIsoltion | public static boolean classLoaderIsoltion(Code) | | |
debug | public static boolean debug(Code) | | Inidicates if the monolog wrapper must be logged itself.
|
handlerType2className | public static String[][] handlerType2className(Code) | | |
handlers | protected Map handlers(Code) | | This field references the handler instance by their names.
key = a String object which is an handler name.
value = the unique handler instance which has the key for name.
|
intToNames | protected Map intToNames(Code) | | This field reference the level names by their integer value.
key = a java.lang.Integer which the value is the level
value = a String or an ArrayList of String. The strings represent the
name which match to the integer value. Indeed both name can be associated
to the same integer value.
|
monologFactoryListeners | protected Collection monologFactoryListeners(Code) | | This field references the MonolgFactoryListener instance by their names.
key = a String object which is an handler name.
value = the unique handler instance which has the key for name.
|
nameToLevel | protected Map nameToLevel(Code) | | This field references the level instances by their names.
key = a level name
value = the unique Level instance linked to the name.
|
resourceBundleName | protected String resourceBundleName(Code) | | The default resource bundle of this factory
|
rootLoggerName | protected static String rootLoggerName(Code) | | Name of the root logger.
This name intends to isolates the loggers associated to a class loader.
|
rootLoggerPrefix | protected static String rootLoggerPrefix(Code) | | Root logger prefix, i.e. rootLoggerName followed by '.'.
|
AbstractFactory | public AbstractFactory()(Code) | | It initializes the default monolog level: INHERIT, DEBUG, INFO, WARN,
ERROR, FATAL
|
debug | public static void debug(String m)(Code) | | This method must be only used to debug the Monolog wrappers.
To active the log of monolog assign the "true" value to the system
property "monolog.debug".
Parameters: m - the message to log. |
getDefaultHandlerType2className | abstract protected String[][] getDefaultHandlerType2className()(Code) | | |
getResourceBundleName | public String getResourceBundleName()(Code) | | |
getRootLoggerPrefix | public static String getRootLoggerPrefix()(Code) | | Gets the prefix of the root logger.
|
initHandlerType2className | protected void initHandlerType2className()(Code) | | |
monoLoggerName | protected static String monoLoggerName(String name)(Code) | | isolates the logger hierarchy for a given class loader
by prepending the root logger name.
Parameters: name - user defined name internal name |
setResourceBundleName | public void setResourceBundleName(String rbn)(Code) | | |
|
|
|