close

open override fun close()

Closes the log writer and flushes any remaining data to the underlying stream.

After calling this method, no further write operations should be performed. The underlying stream is also closed.