Class LogEntry

java.lang.Object
net.sf.basedb.util.extensions.logging.LogEntry

public class LogEntry extends Object
An entry in the log.
  • Field Details

    • timestamp

      private final long timestamp
    • level

      private final LogLevel level
    • message

      private final String message
    • t

      private final Throwable t
  • Constructor Details

  • Method Details

    • getLevel

      public LogLevel getLevel()
      The level of the log entry.
    • getTimestamp

      public long getTimestamp()
      The timestamp of the log entry.
    • getDate

      public Date getDate()
      The timestamp of the log entry as a date.
    • getMessage

      public String getMessage()
      Get the log message.
    • getStacktrace

      public Throwable getStacktrace()
      Get the stacktrace of the log entry.
    • toString

      public String toString()
      Overrides:
      toString in class Object