public final class Debug extends Debug
Debug traces are controled in the source code by package specific variables. Those variables may be dynamically set from a special property file, or from the environment.
To set debug variable myvar
in class myclass
,
the variable must be declared public
and static
,
and the following property should be defined:
.
Debug.var.myclass.myvar=true
However this works only when the class garbage collection is disabled.
The Debug
debug variables themselves are special, as they
are statically set in the init
function. The debug variables
of the other packages must be dynamically set to ensure this is done after
the debug property file has been read.
Currently only boolean variables may be dynamically set this way.
Modifier and Type | Field and Description |
---|---|
static String |
A3Agent |
static String |
A3Debug |
static String |
A3Engine |
static String |
A3Network |
static String |
A3Proxy |
static String |
A3Service |
static String |
JGroups |
debug, DEBUG_DIR_PROPERTY, DEBUG_FILE_PROPERTY, DEFAULT_DEBUG_DIR, DEFAULT_DEBUG_FILE, factory
Constructor and Description |
---|
Debug() |
getLogger, init, reinit, setDebugDir, setDebugFileName, setLoggerFactory, setLoggerLevel
public static final String A3Debug
public static final String A3Agent
public static final String A3Engine
public static final String A3Network
public static final String A3Service
public static final String A3Proxy
public static final String JGroups
Copyright © 2019 ScalAgent D.T.. All rights reserved.