Package com.netscape.cmscore.util
Class Debug
- java.lang.Object
-
- com.netscape.cmscore.util.Debug
-
public class Debug extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Debug()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
dump(byte[] b)
void
init(IConfigStore config)
Debug subsystem initialization.static void
setLevel(int level)
Set the current debugging level.
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
PROP_LEVEL
public static final java.lang.String PROP_LEVEL
- See Also:
- Constant Field Values
-
OBNOXIOUS
public static final int OBNOXIOUS
- See Also:
- Constant Field Values
-
VERBOSE
public static final int VERBOSE
- See Also:
- Constant Field Values
-
INFORM
public static final int INFORM
- See Also:
- Constant Field Values
-
WARN
public static final int WARN
- See Also:
- Constant Field Values
-
-
Method Detail
-
dump
public static java.lang.String dump(byte[] b)
-
setLevel
public static void setLevel(int level)
Set the current debugging level. You can use:OBNOXIOUS = 1 VERBOSE = 5 INFORM = 10
Or another value
-
init
public void init(IConfigStore config) throws java.lang.Exception
Debug subsystem initialization. This subsystem is usually given the following parameters:- Throws:
java.lang.Exception
-
-