net.sf.xenqtt
Class JavaLoggingDelegate

java.lang.Object
  extended by net.sf.xenqtt.JavaLoggingDelegate

public class JavaLoggingDelegate
extends Object

A LoggingDelegate that logs messages and related data to a log file called xenqtt.log that is created and rolled in the directory where the xenqtt.jar file is being executed. The logging is done via the Java Util Logging API.


Constructor Summary
JavaLoggingDelegate()
           
 
Method Summary
 void debug(String message)
          Log an event at the debug level.
 void debug(Throwable t, String message)
          Log an event at the debug level.
 void error(String message)
          Log an event at the error level.
 void error(Throwable t, String message)
          Log an event at the error level.
 void fatal(String message)
          Log an event at the fatal level.
 void fatal(Throwable t, String message)
          Log an event at the fatal level.
 void info(String message)
          Log an event at the info level.
 void info(Throwable t, String message)
          Log an event at the info level.
 void trace(String message)
          Log an event at the trace level.
 void trace(Throwable t, String message)
          Log an event at the trace level.
 void warn(String message)
          Log an event at the warn level.
 void warn(Throwable t, String message)
          Log an event at the warn level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaLoggingDelegate

public JavaLoggingDelegate()
Method Detail

trace

public void trace(String message)
Log an event at the trace level.

Parameters:
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#trace(java.lang.String)

trace

public void trace(Throwable t,
                  String message)
Log an event at the trace level.

Parameters:
t - A Throwable to associate with the event
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#trace(java.lang.Throwable, java.lang.String)

debug

public void debug(String message)
Log an event at the debug level.

Parameters:
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#debug(java.lang.String)

debug

public void debug(Throwable t,
                  String message)
Log an event at the debug level.

Parameters:
t - A Throwable to associate with the event
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#debug(java.lang.Throwable, java.lang.String)

info

public void info(String message)
Log an event at the info level.

Parameters:
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#info(java.lang.String)

info

public void info(Throwable t,
                 String message)
Log an event at the info level.

Parameters:
t - A Throwable to associate with the event
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#info(java.lang.Throwable, java.lang.String)

warn

public void warn(String message)
Log an event at the warn level.

Parameters:
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#warn(java.lang.String)

warn

public void warn(Throwable t,
                 String message)
Log an event at the warn level.

Parameters:
t - A Throwable to associate with the event
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#warn(java.lang.Throwable, java.lang.String)

error

public void error(String message)
Log an event at the error level.

Parameters:
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#error(java.lang.String)

error

public void error(Throwable t,
                  String message)
Log an event at the error level.

Parameters:
t - A Throwable to associate with the event
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#error(java.lang.Throwable, java.lang.String)

fatal

public void fatal(String message)
Log an event at the fatal level.

Parameters:
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#fatal(java.lang.String)

fatal

public void fatal(Throwable t,
                  String message)
Log an event at the fatal level.

Parameters:
t - A Throwable to associate with the event
message - The message to log
See Also:
net.sf.xenqtt.Log.LoggingDelegate#fatal(java.lang.Throwable, java.lang.String)


Copyright © 2013. All Rights Reserved.