arthurai.common.log.InfoFilter#

class arthurai.common.log.InfoFilter(name='')#

Bases: logging.Filter

A logging filter to only log messages that are debug or info level (i.e. never log warning or error messages)

Methods

filter

Determine if the specified record is to be logged.

filter(rec)#

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.