uk.ac.ebi.intact.application.predict.util
Class PredictLogger

java.lang.Object
  |
  +--uk.ac.ebi.intact.application.predict.util.PredictLogger

public class PredictLogger
extends java.lang.Object

The logger for the Predict application.

Version:
$Id: PredictLogger.java,v 1.1 2003/12/02 23:11:08 smudali Exp $
Author:
Sugath Mudali (smudali@ebi.ac.uk)

Constructor Summary
PredictLogger()
           
 
Method Summary
static PredictLogger getInstance()
          Returns the only instance of this class.
 void log(java.sql.SQLException sqle)
          Logs the SQL exception using the logger
 void log(java.lang.String msg)
          Logs a string.
 void log(java.lang.Throwable throwable)
          Logs an exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredictLogger

public PredictLogger()
Method Detail

getInstance

public static PredictLogger getInstance()
Returns the only instance of this class.

Returns:
the only instance of this class.

log

public void log(java.lang.String msg)
Logs a string.

Parameters:
msg - the string to log.

log

public void log(java.lang.Throwable throwable)
Logs an exception.

Parameters:
throwable - the exception to log.

log

public void log(java.sql.SQLException sqle)
Logs the SQL exception using the logger

Parameters:
sqle - the exception to log.


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk