Modifier and Type | Class and Description |
---|---|
private static class |
Debug.PrivateLogger |
Modifier and Type | Field and Description |
---|---|
static boolean |
debug
flag used to remove huge logging
|
static String |
DEBUG_DIR_PROPERTY
Property name for A3 debug configuration directory.
|
static String |
DEBUG_FILE_PROPERTY
Property name for A3 debug configuration filename
|
private static String |
debugDir
Name of the directory where the debug configuration
file can be found.
|
private static String |
debugFileName
Name of the debug configuration file.
|
static String |
DEFAULT_DEBUG_DIR
Default value for A3 debug configuration directory.
|
static 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 and Description |
---|
Debug() |
Modifier and Type | Method and Description |
---|---|
static org.objectweb.util.monolog.api.Logger |
getLogger(String topic) |
protected static void |
init() |
private static void |
initialize()
Initializes the package.
|
static void |
reinit() |
static void |
setDebugDir(String debugDir) |
static void |
setDebugFileName(String debugFileName) |
static void |
setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory loggerFactory)
Set the monolog Loggerfactory
|
static void |
setLoggerLevel(String topic,
int level) |
public static final boolean debug
public static final String DEBUG_DIR_PROPERTY
public static final String DEFAULT_DEBUG_DIR
public static final String DEBUG_FILE_PROPERTY
public static final String DEFAULT_DEBUG_FILE
protected static org.objectweb.util.monolog.api.LoggerFactory factory
private static String debugDir
private static String debugFileName
private static Debug.PrivateLogger logger
public static void setDebugDir(String debugDir)
public static void setDebugFileName(String debugFileName)
private static void initialize() throws Exception
Exception
public static org.objectweb.util.monolog.api.Logger getLogger(String topic)
public static void setLoggerLevel(String topic, int level)
public static void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory loggerFactory)
loggerFactory
- the monolog LoggerFactoryCopyright © 2019 ScalAgent D.T.. All rights reserved.