closeStream
Signature
Section titled “Signature”closeStream(): voidDescription
Section titled “Description”Safely ends all open file streams and clears the internal stream registry. Streams are automatically closed on process exit, but this method can be called manually to flush buffers or stop file logging early.
Example
Section titled “Example”zylog.closeStream();