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 |
DEFAULT_DEBUG_FILE
Default filename for A3 debug configuration
|
private static LoggerFactory |
factory |
Constructor and Description |
---|
Debug() |
Modifier and Type | Method and Description |
---|---|
static void |
clearLevel(String classname) |
static Logger |
getLogger(String topic)
Initializes the package.
|
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(LoggerFactory 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
private static LoggerFactory factory
public static Logger getLogger(String topic)
Exception
- fatal error during initialization.@Deprecated public static void setLoggerFactory(LoggerFactory 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 © 2022 ScalAgent D.T.. All rights reserved.