upkie  11.0.0
Open-source wheeled biped robots

◆ filter()

bool filter (   self,
logging.LogRecord  record 
)

Allow a record through only if enough time has passed since the last emission from the same source line.

Parameters
recordLog record to evaluate.
Returns
True if the record should be emitted, False otherwise.