|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.common.Debug
public class Debug
This class handles the debug traces.
Nested Class Summary | |
---|---|
private static class |
Debug.PrivateLogger
|
Field Summary | |
---|---|
static boolean |
debug
flag used to remove huge logging |
static java.lang.String |
DEBUG_DIR_PROPERTY
Property name for A3 debug configuration directory. |
static java.lang.String |
DEBUG_FILE_PROPERTY
Property name for A3 debug configuration filename |
private static java.lang.String |
debugDir
Name of the directory where the debug configuration file can be found. |
private static java.lang.String |
debugFileName
Name of the debug configuration file. |
static java.lang.String |
DEFAULT_DEBUG_DIR
Default value for A3 debug configuration directory. |
static java.lang.String |
DEFAULT_DEBUG_FILE
Default filename for A3 debug configuration |
protected static org.objectweb.util.monolog.api.LoggerFactory |
factory
|
private static Debug.PrivateLogger |
logger
|
Constructor Summary | |
---|---|
Debug()
|
Method Summary | |
---|---|
static org.objectweb.util.monolog.api.Logger |
getLogger(java.lang.String topic)
|
protected static void |
init()
|
private static void |
initialize()
Initializes the package. |
static void |
reinit()
|
static void |
setDebugDir(java.lang.String debugDir)
|
static void |
setDebugFileName(java.lang.String debugFileName)
|
static void |
setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory loggerFactory)
Set the monolog Loggerfactory |
static void |
setLoggerLevel(java.lang.String topic,
int level)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean debug
public static final java.lang.String DEBUG_DIR_PROPERTY
public static final java.lang.String DEFAULT_DEBUG_DIR
public static final java.lang.String DEBUG_FILE_PROPERTY
public static final java.lang.String DEFAULT_DEBUG_FILE
protected static org.objectweb.util.monolog.api.LoggerFactory factory
private static java.lang.String debugDir
private static java.lang.String debugFileName
private static Debug.PrivateLogger logger
Constructor Detail |
---|
public Debug()
Method Detail |
---|
public static void setDebugDir(java.lang.String debugDir)
public static void setDebugFileName(java.lang.String debugFileName)
public static void reinit() throws java.lang.Exception
java.lang.Exception
protected static void init() throws java.lang.Exception
java.lang.Exception
private static void initialize() throws java.lang.Exception
java.lang.Exception
public static org.objectweb.util.monolog.api.Logger getLogger(java.lang.String topic)
public static void setLoggerLevel(java.lang.String topic, int level)
public static void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory loggerFactory)
loggerFactory
- the monolog LoggerFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |