quickfix
Class LogUtil

java.lang.Object
  extended by quickfix.LogUtil

public class LogUtil
extends java.lang.Object

Utilities for logging session-related events.


Constructor Summary
LogUtil()
           
 
Method Summary
static void logThrowable(Log log, java.lang.String message, java.lang.Throwable t)
          Logs a throwable as a session event, including the stack trace.
static void logThrowable(SessionID sessionID, java.lang.String message, java.lang.Throwable t)
          Logs a throwable as a session event, including the stack trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogUtil

public LogUtil()
Method Detail

logThrowable

public static void logThrowable(Log log,
                                java.lang.String message,
                                java.lang.Throwable t)
Logs a throwable as a session event, including the stack trace.

Parameters:
log - a Session log
message - error message
t - the exception to log

logThrowable

public static void logThrowable(SessionID sessionID,
                                java.lang.String message,
                                java.lang.Throwable t)
Logs a throwable as a session event, including the stack trace.

Parameters:
sessionID - the session ID
message - the error message
t - the exception to log