String handler
string_handler ¶
Module for handling basic logging by streaming into StringIO.
StringStreamHandler ¶
Class for logging via StringIO.
handle ¶
handle(record: LogRecord) -> bool
Conditionally emit the specified logging record.
Emission depends on filters which may have been added to the handler. Wrap the actual emission of the record with acquisition/release of the I/O thread lock. Returns whether the filter passed the record for emission.