Interface ILogHistoryListener


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

      • 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.