loggers module

class LevelFilter(level)[source]

Bases: logging.Filter

Class to filter a unique log level

filter(record)[source]

Determine if the specified record is to be logged.

Is the specified record to be logged? Returns 0 for no, nonzero for yes. If deemed appropriate, the record may be modified in-place.