All Packages Class Hierarchy This Package Previous Next Index
Class org.apache.jserv.JServDebug
java.lang.Object
|
+----org.apache.jserv.JServDebug
- public final class JServDebug
- extends Object
- implements JServDebug. DebugConstants
Class that implements the debugging policy for the JServ module.
- Version:
- $Revision: 1.2 $
- Author:
- Francis J. Lacoste
-
JServDebug()
-
-
setTracing(int)
- Set the tracing global policy.
-
setTracing(int, boolean)
- Set the tracing for a module.
-
trace(String, int)
- Log a message to stderr, if the tracing is on for the following module.
-
trace(Throwable)
- Trace an exception if exception tracing is turn on.
JServDebug
public JServDebug()
trace
public static void trace(String msg,
int module)
- Log a message to stderr, if the tracing is on for the following module.
- Parameters:
- msg - The message to log.
- module - The module in which this message should be log.
trace
public static void trace(Throwable t)
- Trace an exception if exception tracing is turn on.
setTracing
public static void setTracing(int policy)
- Set the tracing global policy. This should the addition of
all the tracing constants that should be turn on.
setTracing
public static void setTracing(int module,
boolean state)
- Set the tracing for a module.
All Packages Class Hierarchy This Package Previous Next Index