Class Event


  • public final class Event
    extends Object
    A log entry
    Author:
    gideon1
    • Method Detail

      • getMessage

        public String getMessage()
        Get the logged message
        Returns:
        The message.
      • getTimestamp

        public Date getTimestamp()
        Get the timestamp of the logged event
        Returns:
        The timestamp
      • getLevel

        public Level getLevel()
        Get the log level at which this event is logged
        Returns:
        The level
      • getThrowable

        public Optional<Throwable> getThrowable()
        Get the exception associated with this event if there is one.
        Returns:
        An optional exception
      • getUuid

        public UUID getUuid()
        Get the UUID for this event
        Returns:
        The UUID