Package com.iizix.server
Interface ILogHistoryListener
public interface ILogHistoryListener
The server log history listener interface.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onEntry(LogEntry entry)
Called when a new history entry is added.void
onInitialized()
Called when the history has been reinitialized due to e.g.
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.