def filter()

in project/nanoeval/nanoeval/library_config.py [0:0]


    def filter(self, record: logging.LogRecord) -> bool:
        if record.levelno > logging.INFO or (
            os.environ.get(ENV_NANOEVAL_LOG_ALL) and record.levelno == logging.INFO
        ):
            return True

        return isinstance(record.msg, dict) and record.msg.get("_print", False)