Package com.iizix.server
Interface ILogHistoryListener
public interface ILogHistoryListener
The server log history listener interface.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- voidCalled when a new history entry is added.- voidCalled when the history has been reinitialized due to e.g.
- Method Details- onInitializedvoid onInitialized()Called when the history has been reinitialized due to e.g. log file rotation.
- onEntryCalled 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.