com.metamatrix.common.log
Class I18nLogManager

java.lang.Object
  extended by com.metamatrix.common.log.I18nLogManager

Deprecated. use LogManager

public final class I18nLogManager
extends java.lang.Object


Method Summary
static void logError(java.lang.String context, java.lang.String msgID, java.lang.Throwable e)
          Deprecated. Send an error message to the log.
static void logError(java.lang.String context, java.lang.String msgID, java.lang.Throwable e, java.lang.Object msgPart)
          Deprecated. Send an error message to the log.
static void logError(java.lang.String context, java.lang.String msgID, java.lang.Throwable e, java.lang.Object[] msgParts)
          Deprecated. Send an error message to the log.
static void logInfo(java.lang.String context, java.lang.String msgID, java.lang.Object[] msgParts)
          Deprecated. Send a information message to the log.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

logError

public static void logError(java.lang.String context,
                            java.lang.String msgID,
                            java.lang.Throwable e)
Deprecated. 
Send an error message to the log. Error messages are generally used to record unexpected problems, or errors that are not critical in nature and from which the system can automatically recover.

Only if the log manager is configured to send such messages to the destination will the message be recorded.

Parameters:
context - the context for this log message (for example, the component that is generating this message).
msgID - is the unique id that identifies the message in the resource bundles
e - the exception that is to be logged; the message is not logged if this parameter is null

logError

public static void logError(java.lang.String context,
                            java.lang.String msgID,
                            java.lang.Throwable e,
                            java.lang.Object[] msgParts)
Deprecated. 
Send an error message to the log. Error messages are generally used to record unexpected problems, or errors that are not critical in nature and from which the system can automatically recover.

Only if the log manager is configured to send such messages to the destination will the message be recorded.

Parameters:
context - the context for this log message (for example, the component that is generating this message).
msgID - is the unique id that identifies the message in the resource bundles * @param e the exception that is to be logged; the message is not logged if this parameter is null
msgParts - the individual parts of the log message (may be null)

logError

public static void logError(java.lang.String context,
                            java.lang.String msgID,
                            java.lang.Throwable e,
                            java.lang.Object msgPart)
Deprecated. 
Send an error message to the log. Error messages are generally used to record unexpected problems, or errors that are not critical in nature and from which the system can automatically recover.

Only if the log manager is configured to send such messages to the destination will the message be recorded.

Parameters:
context - the context for this log message (for example, the component that is generating this message).
msgID - is the unique id that identifies the message in the resource bundles * @param e the exception that is to be logged; the message is not logged if this parameter is null
msgPart - the individual part of the log message (may be null)

logInfo

public static void logInfo(java.lang.String context,
                           java.lang.String msgID,
                           java.lang.Object[] msgParts)
Deprecated. 
Send a information message to the log. This level of logging is the usually the normal level. All interesting periodic events should be logged at this level so someone looking through the log can see the amount and kind of processing happening in the system.

Only if the log manager is configured to send such messages to the destination will the message be recorded.

Parameters:
context - the context for this log message (for example, the component that is generating this message).
msgID - is the unique id that identifies the message in the resource bundles
msgParts - the individual parts of the log message; the message is not logged if this parameter is null


Copyright © 2009. All Rights Reserved.