close#

FileLogger.close() None#

Close the underlying log-file handle if one is open.

Safe to call multiple times. Use this for deterministic cleanup instead of relying on garbage collection.