Class LogNotificationHelper.LogNotificationEvent

java.lang.Object
org.codelibs.fess.helper.LogNotificationHelper.LogNotificationEvent
Enclosing class:
LogNotificationHelper

public static class LogNotificationHelper.LogNotificationEvent extends Object
Represents a captured log event for notification.
  • Constructor Details

    • LogNotificationEvent

      public LogNotificationEvent(long timestamp, String level, String loggerName, String message, String throwable)
      Constructs a new LogNotificationEvent.
      Parameters:
      timestamp - the event timestamp in milliseconds
      level - the log level name
      loggerName - the logger name
      message - the log message
      throwable - the throwable string, or null
  • Method Details

    • getTimestamp

      public long getTimestamp()
      Returns the event timestamp in milliseconds.
      Returns:
      the event timestamp in milliseconds
    • getLevel

      public String getLevel()
      Returns the log level name.
      Returns:
      the log level name
    • getLoggerName

      public String getLoggerName()
      Returns the logger name.
      Returns:
      the logger name
    • getMessage

      public String getMessage()
      Returns the log message.
      Returns:
      the log message
    • getThrowable

      public String getThrowable()
      Returns the throwable string.
      Returns:
      the throwable string, or null