com.ibm.di.fc.remotecmdlnfc
Class TDIRXALogAdapter

java.lang.Object
  extended by com.ibm.tivoli.remoteaccess.log.LoggingAdapter
      extended by com.ibm.di.fc.remotecmdlnfc.TDIRXALogAdapter
All Implemented Interfaces:
com.ibm.tivoli.remoteaccess.log.Logger

public class TDIRXALogAdapter
extends com.ibm.tivoli.remoteaccess.log.LoggingAdapter

This class encapsulates the RXA internal logger


Field Summary
static String DEBUG_MAX
           
static String DEBUG_MID
           
static String DEBUG_MIN
           
static String ERROR
           
static String INFO
           
 boolean logEnabled
           
static String WARN
           
 
Constructor Summary
TDIRXALogAdapter(Log log)
           
 
Method Summary
 void exception(com.ibm.tivoli.remoteaccess.log.Level level, Object loggingClass, String loggingMethod, Throwable throwable, String text)
           
 Log getLog()
           
 boolean isLogEnabled()
           
 boolean isLoggable(com.ibm.tivoli.remoteaccess.log.Level level)
           
 void setLog(Log log)
           
 void setLogEnabled(boolean logEnabled)
           
 void setLogEnabled(String logEnabled)
           
 void text(com.ibm.tivoli.remoteaccess.log.Level level, Object loggingClass, String loggingMethod, String text, Object[] inserts)
           
 
Methods inherited from class com.ibm.tivoli.remoteaccess.log.LoggingAdapter
entry, entry, entry, entry, exception, exit, exit, exit, exit, exit, text, text, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_MAX

public static final String DEBUG_MAX
See Also:
Constant Field Values

DEBUG_MID

public static final String DEBUG_MID
See Also:
Constant Field Values

DEBUG_MIN

public static final String DEBUG_MIN
See Also:
Constant Field Values

INFO

public static final String INFO
See Also:
Constant Field Values

WARN

public static final String WARN
See Also:
Constant Field Values

ERROR

public static final String ERROR
See Also:
Constant Field Values

logEnabled

public boolean logEnabled
Constructor Detail

TDIRXALogAdapter

public TDIRXALogAdapter(Log log)
Parameters:
log - Reference to TDI Logger.
Method Detail

text

public void text(com.ibm.tivoli.remoteaccess.log.Level level,
                 Object loggingClass,
                 String loggingMethod,
                 String text,
                 Object[] inserts)
Specified by:
text in interface com.ibm.tivoli.remoteaccess.log.Logger
Specified by:
text in class com.ibm.tivoli.remoteaccess.log.LoggingAdapter
See Also:
Logger.text(com.ibm.tivoli.remoteaccess.log.Level, java.lang.Object, java.lang.String, java.lang.String, java.lang.Object[])

exception

public void exception(com.ibm.tivoli.remoteaccess.log.Level level,
                      Object loggingClass,
                      String loggingMethod,
                      Throwable throwable,
                      String text)
Specified by:
exception in interface com.ibm.tivoli.remoteaccess.log.Logger
Specified by:
exception in class com.ibm.tivoli.remoteaccess.log.LoggingAdapter
See Also:
Logger.exception(com.ibm.tivoli.remoteaccess.log.Level, java.lang.Object, java.lang.String, java.lang.Throwable, java.lang.String)

getLog

public Log getLog()
Returns:
Returns the log.

setLog

public void setLog(Log log)
Parameters:
log - The log to set.

isLoggable

public boolean isLoggable(com.ibm.tivoli.remoteaccess.log.Level level)
See Also:
Logger.isLoggable(com.ibm.tivoli.remoteaccess.log.Level)

isLogEnabled

public boolean isLogEnabled()
Returns:
Returns the logEnabled.

setLogEnabled

public void setLogEnabled(boolean logEnabled)
Parameters:
logEnabled - The logEnabled to set.

setLogEnabled

public void setLogEnabled(String logEnabled)
Parameters:
logEnabled - The logEnabled to set.