com.apama.iaf.plugin
Class IAFLogger

java.lang.Object
  extended by com.apama.iaf.plugin.IAFLogger

Deprecated. Use Logger instead. This class will be removed in a future release.

public class IAFLogger
extends java.lang.Object

IAFLogger provides methods to log error and status information to the standard IAF output log. This class can only be used by a class that was loaded by the IAF, as it relies on the IAF JPlugin library already being loaded. This class is thread safe.


Constructor Summary
IAFLogger()
          Deprecated. Constructs an IAFLogger for this transport or codec, without specifying a name to be prepended to messages.
IAFLogger(java.lang.String name)
          Deprecated. Constructs an IAFLogger for this transport or codec.
 
Method Summary
 int getLogLevel()
          Deprecated.  
 boolean isCritEnabled()
          Deprecated. Returns true if critical level logging is enabled
 boolean isDebugEnabled()
          Deprecated. Returns true if debug level logging is enabled
 boolean isErrorEnabled()
          Deprecated. Returns true if error level logging is enabled
 boolean isFatalEnabled()
          Deprecated. Returns true if fatal level logging is enabled
 boolean isInfoEnabled()
          Deprecated. Returns true if info level logging is enabled
 boolean isWarnEnabled()
          Deprecated. Returns true if warn level logging is enabled
 void logCritical(java.lang.String msg)
          Deprecated. Logs the specified critical message.
 void logCritical(java.lang.String msg, java.lang.Object[] args)
          Deprecated. Logs the specified critical message.
 void logDebug(java.lang.String msg)
          Deprecated. Logs the specified debug message.
 void logDebug(java.lang.String msg, java.lang.Object[] args)
          Deprecated. Logs the specified debug message.
 void logError(java.lang.String msg)
          Deprecated. Logs the specified error message.
 void logError(java.lang.String msg, java.lang.Object[] args)
          Deprecated. Logs the specified error message.
 void logInfo(java.lang.String msg)
          Deprecated. Logs the specified information message.
 void logInfo(java.lang.String msg, java.lang.Object[] args)
          Deprecated. Logs the specified information message.
 void logWarning(java.lang.String msg)
          Deprecated. Logs the specified warning message.
 void logWarning(java.lang.String msg, java.lang.Object[] args)
          Deprecated. Logs the specified warning message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IAFLogger

public IAFLogger(java.lang.String name)
Deprecated. 
Constructs an IAFLogger for this transport or codec.

Parameters:
name - The name of the transport or codec, which will be prepended to all log messages.

IAFLogger

public IAFLogger()
Deprecated. 
Constructs an IAFLogger for this transport or codec, without specifying a name to be prepended to messages.

Method Detail

logCritical

public void logCritical(java.lang.String msg)
Deprecated. 
Logs the specified critical message.

Parameters:
msg -

logCritical

public void logCritical(java.lang.String msg,
                        java.lang.Object[] args)
Deprecated. 
Logs the specified critical message.

Parameters:
msg -
args - Arguments inserted into msg as specified by tokens of the form {n} where n is the argument index.
See Also:
MessageFormat.format(java.lang.String, java.lang.Object[])

logError

public void logError(java.lang.String msg)
Deprecated. 
Logs the specified error message.

Parameters:
msg -

logError

public void logError(java.lang.String msg,
                     java.lang.Object[] args)
Deprecated. 
Logs the specified error message.

Parameters:
msg -
args - Arguments inserted into msg as specified by tokens of the form {n} where n is the argument index.
See Also:
MessageFormat.format(java.lang.String, java.lang.Object[])

logWarning

public void logWarning(java.lang.String msg)
Deprecated. 
Logs the specified warning message.

Parameters:
msg -

logWarning

public void logWarning(java.lang.String msg,
                       java.lang.Object[] args)
Deprecated. 
Logs the specified warning message.

Parameters:
msg -
args - Arguments inserted into msg as specified by tokens of the form {n} where n is the argument index.
See Also:
MessageFormat.format(java.lang.String, java.lang.Object[])

logInfo

public void logInfo(java.lang.String msg)
Deprecated. 
Logs the specified information message.

Parameters:
msg -

logInfo

public void logInfo(java.lang.String msg,
                    java.lang.Object[] args)
Deprecated. 
Logs the specified information message.

Parameters:
msg -
args - Arguments inserted into msg as specified by tokens of the form {n} where n is the argument index.
See Also:
MessageFormat.format(java.lang.String, java.lang.Object[])

logDebug

public void logDebug(java.lang.String msg)
Deprecated. 
Logs the specified debug message.

Parameters:
msg -

logDebug

public void logDebug(java.lang.String msg,
                     java.lang.Object[] args)
Deprecated. 
Logs the specified debug message.

Parameters:
msg -
args - Arguments inserted into msg as specified by tokens of the form {n} where n is the argument index.
See Also:
MessageFormat.format(java.lang.String, java.lang.Object[])

getLogLevel

public int getLogLevel()
Deprecated. 

isDebugEnabled

public boolean isDebugEnabled()
Deprecated. 
Returns true if debug level logging is enabled

Returns:
true if debug logging is enabled

isInfoEnabled

public boolean isInfoEnabled()
Deprecated. 
Returns true if info level logging is enabled

Returns:
true if info logging is enabled

isWarnEnabled

public boolean isWarnEnabled()
Deprecated. 
Returns true if warn level logging is enabled

Returns:
true if warn logging is enabled

isErrorEnabled

public boolean isErrorEnabled()
Deprecated. 
Returns true if error level logging is enabled

Returns:
true if error logging is enabled

isFatalEnabled

public boolean isFatalEnabled()
Deprecated. 
Returns true if fatal level logging is enabled

Returns:
true if fatal logging is enabled

isCritEnabled

public boolean isCritEnabled()
Deprecated. 
Returns true if critical level logging is enabled

Returns:
true if critical logging is enabled


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG