Writes all buffered log lines to disk.
Writes a single log buffer to disk.
Replaces some invalid filenames to something that can be stored on the filesystem.
Verifies that a log directory exists, complaining if it's invalid, creating it if it doesn't exist.
Logs an event to disk.
A struct containing lines to write to a log file when next committing such.
Implementation of Printer plugin functionality that concerns logging. For internal use.
The IRCEvent-annotated handlers must be in the same module as the AdminPlugin, but these implementation functions can be offloaded here to limit module size a bit.