LogStream.close#

LogStream.close(flush=True)[source]#

Close the stream and join the logging thread.

Parameters:

flush (bool) – wait for remaining records to be logged.