- class unreal._Logger(encoding, log_func, flush_func)¶
Flush and close the IO object.
This method has no effect if the file is already closed.
Disconnect this buffer from its underlying raw stream and return it.
After the raw stream has been detached, the buffer is in an unusable state.
Flush write buffers, if applicable.
This is not implemented for read-only and non-blocking streams.
Return whether object was opened for writing.
If False, write() will raise OSError.
Write the given buffer to the IO stream.
Returns the number of bytes written, which is always the length of b in bytes.
Raises BlockingIOError if the buffer is full and the underlying raw stream cannot accept more data at the moment.