com.ibm.pim.utils
Interface Logger


public interface Logger

This class is used by JavaAPI users to log messages onto the PIM Solution logs. Internally this class uses /etc/default/api_log.xml as its configuration file and users are advised to configure this api_log.xml to suit their needs. All the messages which are logged using these apis will be appended with a predefined message ID to differentiate core PIM Solution messages with the ones logged by JavaAPI users.


Field Summary
static java.lang.String copyright
           
 
Method Summary
 void logDebug(java.lang.Object message)
          Log the message object with the DEBUG level.
 void logDebug(java.lang.Object message, java.lang.Throwable t)
          Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter
 void logDebug(java.lang.Throwable t)
          Log the stack trace of the Throwable t passed as parameter with DEBUG level.
 void logError(java.lang.Object message)
          Log the message object with the ERROR level.
 void logError(java.lang.Object message, java.lang.Throwable t)
          Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter
 void logError(java.lang.Throwable t)
          Log the stack trace of the Throwable t passed as parameter with the ERROR level.
 void logInfo(java.lang.Object message)
          Log the message object with the INFO level.
 void logInfo(java.lang.Object message, java.lang.Throwable t)
          Log a message object with the INFO level including the stack trace of the Throwable t passed as parameter
 void logInfo(java.lang.Throwable t)
          Log the stack trace of the Throwable t passed as parameter with INFO level.
 void logWarn(java.lang.Object message)
          Log the message object with the WARN level.
 void logWarn(java.lang.Object message, java.lang.Throwable t)
          Log a message object with the WARN level including the stack trace of the Throwable t passed as parameter
 void logWarn(java.lang.Throwable t)
          Log the stack trace of the Throwable t passed as parameter with the WARN level.
 

Field Detail

copyright

static final java.lang.String copyright
See Also:
Constant Field Values
Method Detail

logError

void logError(java.lang.Object message,
              java.lang.Throwable t)
Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter


logError

void logError(java.lang.Throwable t)
Log the stack trace of the Throwable t passed as parameter with the ERROR level.


logError

void logError(java.lang.Object message)
Log the message object with the ERROR level.


logWarn

void logWarn(java.lang.Object message,
             java.lang.Throwable t)
Log a message object with the WARN level including the stack trace of the Throwable t passed as parameter


logWarn

void logWarn(java.lang.Throwable t)
Log the stack trace of the Throwable t passed as parameter with the WARN level.


logWarn

void logWarn(java.lang.Object message)
Log the message object with the WARN level.


logInfo

void logInfo(java.lang.Object message,
             java.lang.Throwable t)
Log a message object with the INFO level including the stack trace of the Throwable t passed as parameter


logInfo

void logInfo(java.lang.Object message)
Log the message object with the INFO level.


logInfo

void logInfo(java.lang.Throwable t)
Log the stack trace of the Throwable t passed as parameter with INFO level.


logDebug

void logDebug(java.lang.Object message,
              java.lang.Throwable t)
Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter


logDebug

void logDebug(java.lang.Object message)
Log the message object with the DEBUG level.


logDebug

void logDebug(java.lang.Throwable t)
Log the stack trace of the Throwable t passed as parameter with DEBUG level.