public class DebugLogging
extends java.lang.Object
The handler is determined in the static initializer portion of the class.
Debugging is controlled by keys which are specified as system properties at application startup. If the key is not set, then any log reuests with that key are ignored.
| Constructor and Description |
|---|
DebugLogging() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sendDebugMessage(java.lang.String text,
java.lang.String key)
Log a standard message
|
static void |
sendTimerMessage(java.lang.String text,
long start,
java.lang.String key)
Log a timer message, which is intended to show how long a given action has taken
|
public static void sendTimerMessage(java.lang.String text,
long start,
java.lang.String key)
Debugging is controlled by keys which are specified as system properties at application startup. If the key is not set, then any log reuests with that key are ignored.
text - A text message to put in the logstart - The time the action was started, in millisecondskey - The debug keypublic static void sendDebugMessage(java.lang.String text,
java.lang.String key)
Debugging is controlled by keys which are specified as system properties at application startup. If the key is not set, then any log reuests with that key are ignored.
text - A text message to put in the logkey - The debug key