at.gv.egovernment.moa.spss.server.logging
Class IaikLog

java.lang.Object
  |
  +--at.gv.egovernment.moa.spss.server.logging.IaikLog
All Implemented Interfaces:
iaik.logging.Log

public class IaikLog
extends Object
implements iaik.logging.Log

An implementation of the iaik.logging.Log interface that is based on Jakarta Commons-Logging.

Version:
$Id$
Author:
Fatemeh Philippi

Field Summary
static String IAIK_LOG_HIERARCHY
          The hierarchy to log all IAIK output to.
 
Constructor Summary
IaikLog(String nodeId)
          Create a new IaikLog.
 
Method Summary
 void debug(iaik.logging.TransactionId transactionId, Object message, Throwable t)
           
 void error(iaik.logging.TransactionId transactionId, Object message, Throwable t)
           
 void fatal(iaik.logging.TransactionId transactionId, Object message, Throwable t)
           
 String getNodeId()
           
 void info(iaik.logging.TransactionId transactionId, Object message, Throwable t)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void setNodeId(String nodeId)
           
 void warn(iaik.logging.TransactionId transactionId, Object message, Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IAIK_LOG_HIERARCHY

public static final String IAIK_LOG_HIERARCHY
The hierarchy to log all IAIK output to.
Constructor Detail

IaikLog

public IaikLog(String nodeId)
Create a new IaikLog.
Parameters:
nodeId - The node ID for this Log object.
Method Detail

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface iaik.logging.Log
See Also:
Log.isDebugEnabled()

debug

public void debug(iaik.logging.TransactionId transactionId,
                  Object message,
                  Throwable t)
Specified by:
debug in interface iaik.logging.Log
See Also:
Log.debug(TransactionId, Object, Throwable)

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface iaik.logging.Log
See Also:
Log.isInfoEnabled()

info

public void info(iaik.logging.TransactionId transactionId,
                 Object message,
                 Throwable t)
Specified by:
info in interface iaik.logging.Log
See Also:
Log.info(TransactionId, Object, Throwable)

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface iaik.logging.Log
See Also:
Log.isWarnEnabled()

warn

public void warn(iaik.logging.TransactionId transactionId,
                 Object message,
                 Throwable t)
Specified by:
warn in interface iaik.logging.Log
See Also:
Log.warn(TransactionId, Object, Throwable)

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface iaik.logging.Log
See Also:
Log.isErrorEnabled()

error

public void error(iaik.logging.TransactionId transactionId,
                  Object message,
                  Throwable t)
Specified by:
error in interface iaik.logging.Log
See Also:
Log.error(TransactionId, Object, Throwable)

isFatalEnabled

public boolean isFatalEnabled()
Specified by:
isFatalEnabled in interface iaik.logging.Log
See Also:
Log.isFatalEnabled()

fatal

public void fatal(iaik.logging.TransactionId transactionId,
                  Object message,
                  Throwable t)
Specified by:
fatal in interface iaik.logging.Log
See Also:
Log.fatal(TransactionId, Object, Throwable)

setNodeId

public void setNodeId(String nodeId)
Specified by:
setNodeId in interface iaik.logging.Log
See Also:
Log.setNodeId(String)

getNodeId

public String getNodeId()
Specified by:
getNodeId in interface iaik.logging.Log
See Also:
Log.getNodeId()