qml.logging.DebugOnlyFilter

class DebugOnlyFilter(name='')[source]

Bases: logging.Filter

Filters logs that are less verbose than the DEBUG level (CRITICAL, ERROR, WARN & INFO).

filter(record)

Determine if the specified record is to be logged.

filter(record)[source]

Determine if the specified record is to be logged.

Returns True if the record should be logged, or False otherwise. If deemed appropriate, the record may be modified in-place.