Files
2026-07-25 02:31:18 +08:00

17 lines
313 B
Python
Executable File

"""Util module to handle logs."""
import logging
class LogFilter(logging.Filter):
"""
Custom Log Filter.
Ignore logs from specific functions.
"""
# pylint: disable = W0221
def filter(self, record):
if record.funcName in ("invoke"):
return False
return True