Package net.i2p.util

Class LogRecord

java.lang.Object
net.i2p.util.LogRecord

class LogRecord extends Object
Keep track of a log entry, unformatted.
  • Constructor Details

  • Method Details

    • getDate

      public long getDate()
    • getSource

      public Class<?> getSource()
    • getSourceName

      public String getSourceName()
    • getThreadName

      public String getThreadName()
    • getPriority

      public int getPriority()
    • getMessage

      public String getMessage()
    • getThrowable

      public Throwable getThrowable()
    • equals

      public boolean equals(Object o)
      Matches source class, first part of message string, and throwable class only. Used only by LogWriter to eliminate dups.
      Overrides:
      equals in class Object
      Since:
      0.9.3
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object