it.could.webdav
Class DAVLogger

java.lang.Object
  extended byit.could.webdav.DAVLogger

public class DAVLogger
extends Object

A simplicisting class defining an esay way to log stuff to the ServletContext.

Author:
Pier Fumagalli

Constructor Summary
DAVLogger(ServletConfig config, boolean debug)
          Create a new DAVLogger from a ServletConfig.
 
Method Summary
 void debug(String message)
          Log a debug message to the context logger.
 void debug(String message, Throwable throwable)
          Log a debug message and related exception to the context logger.
 void log(String message)
          Log a message to the context logger.
 void log(String message, Throwable throwable)
          Log a message and related exception to the context logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAVLogger

public DAVLogger(ServletConfig config,
                 boolean debug)

Create a new DAVLogger from a ServletConfig.

Method Detail

debug

public void debug(String message)

Log a debug message to the context logger.


debug

public void debug(String message,
                  Throwable throwable)

Log a debug message and related exception to the context logger.


log

public void log(String message)

Log a message to the context logger.


log

public void log(String message,
                Throwable throwable)

Log a message and related exception to the context logger.