fr.dyade.aaa.util
Class Debug
public class Debug
extends java.lang.Object
This class handles the debug traces.
DEBUG_DIR_PROPERTY
public static final String DEBUG_DIR_PROPERTY
Property name for A3 debug configuration directory.
If not defined, the configuration file is searched from the search
path used to load classes.
DEBUG_FILE_PROPERTY
public static final String DEBUG_FILE_PROPERTY
Property name for A3 debug configuration filename
DEFAULT_DEBUG_FILE
public static final String DEFAULT_DEBUG_FILE
Default filename for A3 debug configuration
debug
public static final boolean debug
flag used to remove huge logging
- true
factory
protected static LoggerFactory factory
getLogger
public static Logger getLogger(String topic)
init
protected static void init()
throws Exception
reinit
public static void reinit()
throws Exception
setDebugDir
public static void setDebugDir(String debugDir)
setDebugFileName
public static void setDebugFileName(String debugFileName)
setLoggerFactory
public static void setLoggerFactory(LoggerFactory loggerFactory)
Set the monolog Loggerfactory
loggerFactory
- the monolog LoggerFactory
setLoggerLevel
public static void setLoggerLevel(String topic,
int level)
Copyright B) 2004 Scalagent - All rights reserved