Class LogEvent

java.lang.Object
org.codice.ddf.platform.logging.LogEvent

public class LogEvent extends Object
Describes a log event in the system
  • Method Details

    • getTimestamp

      public long getTimestamp()
    • getLevel

      public org.osgi.service.log.LogLevel getLevel()
      Returns the log level
      Returns:
      Level of this LogEvent
    • getMessage

      public String getMessage()
      Returns the Message of this LogEvent
      Returns:
      the message of this LogEvent (can be null)
    • getBundleName

      public String getBundleName()
      Returns the name of the bundle that created this LogEvent
      Returns:
      the name of the bundle that created this LogEvent (can be null)
    • getBundleVersion

      public String getBundleVersion()
      Returns the version of the bundle that created this LogEvent
      Returns:
      the version of the bundle that created this LogEvent (can be null)
    • equals

      public boolean equals(Object anotherLogEvent)
      Compares this LogEvent with the specified Object
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object