onLoggableEvent

Logs an event to disk.

It is set to ChannelPolicy.any, and configuration dictates whether or not non-home events should be logged. Likewise whether or not raw events should be logged.

Lines will either be saved immediately to disk, opening a File with appending privileges for each event as they occur, or buffered by populating arrays of lines to be written in bulk, once in a while.

version(WithPrinterPlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.ANY).channelPolicy(ChannelPolicy.any).chainable(true)
void
onLoggableEvent

See Also