com.ibm.ia.runtime.management

Class LogEntry

  • java.lang.Object
    • com.ibm.ia.runtime.management.LogEntry
  • All Implemented Interfaces:
    java.io.Serializable


    public class LogEntry
    extends java.lang.Object
    implements java.io.Serializable
    Represents a log entry captured by the the system monitor.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String TYPE_RUNTIME_WARNING
      A log type warning that an exception was thrown when processing event.
      static java.lang.String TYPE_SOLUTION_WARNING
      A log type warning that an exception was thrown when processing event for a specific solution.
      static java.lang.String TYPE_SYSTEM_WARNING
      A log type warning that the system detected issues in garbage collection, memory, locking, or thread.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      A typical equals implementation.
      java.lang.String getLevel()
      Get the severity of the log entry.
      java.lang.String getLocalizedMessage()
      Get the localized message of the log entry.
      java.lang.String getSolutionVersion()
      Get the source solution version of the log entry, if available.
      long getTime()
      Get the logging timestamp since 1970.
      java.lang.String getType()
      Get the type of the log entry.
      int hashCode()
      A typical hash implementation.
      java.lang.String toString()
      Returns a string version of this instance.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • TYPE_RUNTIME_WARNING

        public static java.lang.String TYPE_RUNTIME_WARNING
        A log type warning that an exception was thrown when processing event.
      • TYPE_SOLUTION_WARNING

        public static java.lang.String TYPE_SOLUTION_WARNING
        A log type warning that an exception was thrown when processing event for a specific solution.
      • TYPE_SYSTEM_WARNING

        public static java.lang.String TYPE_SYSTEM_WARNING
        A log type warning that the system detected issues in garbage collection, memory, locking, or thread.
    • Method Detail

      • getTime

        public long getTime()
        Get the logging timestamp since 1970.
        Returns:
        the time in milliseconds
      • getLocalizedMessage

        public java.lang.String getLocalizedMessage()
        Get the localized message of the log entry.
        Returns:
        the localized message
      • getSolutionVersion

        public java.lang.String getSolutionVersion()
        Get the source solution version of the log entry, if available.
        Returns:
        the solution version, or null if information is not available
      • getLevel

        public java.lang.String getLevel()
        Get the severity of the log entry.
        Returns:
        java.util.logging.Level#getName()
      • hashCode

        public int hashCode()
        A typical hash implementation.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        The hashcode.
        See Also:
        Object.hashCode()
      • equals

        public boolean equals(java.lang.Object obj)
        A typical equals implementation.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The object to compare to this.
        Returns:
        Whether this object is equivalent to obj.
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public java.lang.String toString()
        Returns a string version of this instance.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representing this instance.
        See Also:
        Object.toString()

© Copyright IBM 2017