org.apache.catalina.connector.warp
Class WarpDebug

java.lang.Object
  |
  +--org.apache.catalina.connector.warp.WarpDebug

public class WarpDebug
extends java.lang.Object

Version:
CVS $Id: WarpDebug.java,v 1.9 2001/01/24 23:10:45 pier Exp $
Author:
Pier Fumagalli, Copyright © 1999, 2000 The Apache Software Foundation.

Field Summary
static boolean DEBUG
          Our debug flag status (Used to compile out debugging information).
 
Method Summary
protected static void debug(java.lang.Object src, java.lang.Exception exc)
          Dump debugging information for an Exception to standard error.
protected static void debug(java.lang.Object src, java.lang.String msg)
          Dump a debug message to standard error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
Our debug flag status (Used to compile out debugging information).
Method Detail

debug

protected static void debug(java.lang.Object src,
                            java.lang.String msg)
Dump a debug message to standard error.
The body of this method will be conditionally compiled depending on the value of the WarpConstants.DEBUG boolean flag.
Parameters:
src - The object source of this debug message.
msg - The debug message to dump.

debug

protected static void debug(java.lang.Object src,
                            java.lang.Exception exc)
Dump debugging information for an Exception to standard error.
The body of this method will be conditionally compiled depending on the value of the WarpConstants.DEBUG boolean flag.
Parameters:
src - The object source of this debug message.
exc - The Exception to dump.


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.