public abstract class BaseLogEventWriter
Abstract class for LogEventWriter implementations.
Ensures that derived classes close the PrintStream since some of them
may wrap it in an outer stream.
Default write implementation is what is currently used by SimpleLogListener
with an additional null check on the passed in LogEvent.