Class IAFLogger


  • @Deprecated
    public class IAFLogger
    extends java.lang.Object
    Deprecated.
    Use Logger instead. This class will be removed in a future release.
    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

      Constructors 
      Constructor Description
      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

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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