fusetools.logging_tools.ThreadFilter¶
-
class
fusetools.logging_tools.ThreadFilter(threadid=None, threadname=None)[source]¶ Bases:
logging.FilterOnly accept log records from a specific thread or thread name
Initialize a filter.
Initialize with the name of the logger which, together with its children, will have its events allowed through the filter. If no name is specified, allow every event.
Methods
Determine if the specified record is to be logged.