Package simpleloglib

Interface Event


public interface Event
An event is a log message with useful information about it, like timestamp, logger name and level.
Author:
lunalobos
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the level associated with this event.
    Get the logger associated with this event.
    Get the message associated with this event.
    Get the name of the thread associated with this event.
    Get the throwable associated with this event.
    Get the timestamp associated with this event.
  • Method Details

    • throwable

      Throwable throwable()
      Get the throwable associated with this event.
      Returns:
      the throwable
    • threadName

      String threadName()
      Get the name of the thread associated with this event.
      Returns:
      the name of the thread
    • level

      Level level()
      Get the level associated with this event.
      Returns:
      the level
    • message

      Message message()
      Get the message associated with this event.
      Returns:
      the message
    • timestamp

      OffsetDateTime timestamp()
      Get the timestamp associated with this event.
      Returns:
      the timestamp
    • logger

      Logger logger()
      Get the logger associated with this event.
      Returns:
      the logger