public final class Debug extends Object
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
|
static String |
DEBUG_LOGGING_FACTORY_PROPERTY
Property name for LoggerFactory classname
|
static String |
DEFAULT_DEBUG_FILE
Default filename for A3 debug configuration
|
static String |
DEFAULT_DEBUG_LOGGING_FACTORY
Default LoggerFactory classname
|
private static LoggingFactory |
factory |
Constructor and Description |
---|
Debug() |
Modifier and Type | Method and Description |
---|---|
static void |
clearLevel(String classname) |
static Logger |
getLogger(String topic) |
protected static void |
init() |
static void |
setDebugLevel(String classname) |
static void |
setErrorLevel(String classname) |
static void |
setFatalLevel(String classname) |
static void |
setInfoLevel(String classname) |
static void |
setLoggerFactory(LoggingFactory loggerFactory)
Deprecated.
|
static void |
setLoggerLevel(String classname,
String level) |
static void |
setWarnLevel(String classname) |
public static final boolean debug
public static final String DEBUG_DIR_PROPERTY
public static final String DEBUG_FILE_PROPERTY
public static final String DEFAULT_DEBUG_FILE
public static final String DEBUG_LOGGING_FACTORY_PROPERTY
public static final String DEFAULT_DEBUG_LOGGING_FACTORY
private static LoggingFactory factory
protected static void init()
@Deprecated public static void setLoggerFactory(LoggingFactory loggerFactory)
loggerFactory
- the monolog LoggerFactorypublic static void setDebugLevel(String classname)
public static void setInfoLevel(String classname)
public static void setWarnLevel(String classname)
public static void setErrorLevel(String classname)
public static void setFatalLevel(String classname)
public static void setLoggerLevel(String classname, String level) throws Exception
Exception
public static void clearLevel(String classname)
Copyright © 2023 ScalAgent D.T.. All rights reserved.