code: def should_log_summary(level, is_fault)
        # Fault summaries log at WARN.
        return level <= Logger::WARN if is_fault
        # Success summaries log at INFO.
        return level <= Logger::INFO
      end
docs: Check whether or not to log request summaries based on log level.