close

open override fun close()(source)

Closes the log writer (out) if it was ever created, releasing its file handle. A no-op when out was never accessed (the lazy writer stays uninitialized) or when autoCreateOutFile is false. Idempotent.