MHCXGraph.utils.logging_utils.ConsoleFilter

class MHCXGraph.utils.logging_utils.ConsoleFilter(*, debug: bool, verbose: bool)[source]
__init__(*, debug: bool, verbose: bool)[source]

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

__init__(*, debug, verbose)

Initialize a filter.

filter(record)

Determine if the specified record is to be logged.