Interface ILogHistoryListener


public interface ILogHistoryListener
The server log history listener interface.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a new history entry is added.
    void
    Called when the history has been reinitialized due to e.g.
  • Method Details

    • onInitialized

      void onInitialized()
      Called when the history has been reinitialized due to e.g. log file rotation.
    • onEntry

      void onEntry(LogEntry entry)
      Called when a new history entry is added. This method is only called from the logger queue purger thread, so it is safe to get the history or to manipulate the history at this point. There is no thread synchronization when this method is called.
      Parameters:
      entry - The entry.