def METHOD_NAME(self, level: int, msg: str, **params):
    frame_info = inspect.getframeinfo(inspect.currentframe().f_back)
    logger_info = (frame_info.filename, frame_info.lineno)
    log_record = LogRecord(msg, level, logger_info=logger_info, **params)
    self.track(log_record, name='__log_records')
    block = (level > logging.WARNING)
    self._status_reporter.check_in(flag_name="new_logs", block=block)