public final class Debug
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
ALERT |
Deprecated.
|
static int |
ERROR |
Deprecated.
|
static int |
INFORMATION |
Deprecated.
Some sample debug levels.
|
static int |
MESSAGE |
Deprecated.
|
static int |
WARNING |
Deprecated.
|
Constructor | Description |
---|---|
Debug() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isInterestedIn(int level) |
Deprecated.
Queries the current debug level.
|
static void |
listenToEventDispatcher() |
Deprecated.
Sets up the system so that the debug messenger will intercept event
dispatch errors and output the event to the debug stream.
|
static void |
setDebugLevel(int level) |
Deprecated.
Sets the debug level that's to be output to the stream.
|
static void |
setOutput(java.io.Writer out) |
Deprecated.
Sets up the OutputStream to which the debug information is to be output
to.
|
static void |
write(int level,
java.lang.Class cla,
java.lang.String message) |
Deprecated.
|
static void |
write(int level,
java.lang.Object ob,
java.lang.String message) |
Deprecated.
This writes the given debugging string.
|
static void |
write(int level,
java.lang.String class_string,
java.lang.String message) |
Deprecated.
|
static void |
write(java.lang.Object ob,
java.lang.String message) |
Deprecated.
this is a legacy debug method.
|
static void |
writeException(int level,
java.lang.Throwable e) |
Deprecated.
This writes the given Exception but gives it a 'debug_level'.
|
static void |
writeException(java.lang.Throwable e) |
Deprecated.
This writes the given Exception.
|
public static final int INFORMATION
public static final int WARNING
public static final int ALERT
public static final int ERROR
public static final int MESSAGE
public static final void setOutput(java.io.Writer out)
public static final void setDebugLevel(int level)
public static final void listenToEventDispatcher()
public static final boolean isInterestedIn(int level)
public static final void write(int level, java.lang.Object ob, java.lang.String message)
public static final void write(int level, java.lang.Class cla, java.lang.String message)
public static final void write(int level, java.lang.String class_string, java.lang.String message)
public static final void write(java.lang.Object ob, java.lang.String message)
public static final void writeException(java.lang.Throwable e)
public static final void writeException(int level, java.lang.Throwable e)
Copyright © 2018. All rights reserved.