code: private void printIfEnabled(MetricAttribute type, String status) {
          if (getDisabledMetricAttributes().contains(type)) {
              return;
          }
  
          output.println(status);
      }
docs: Print only if the attribute is enabled
  
  @param type   Metric attribute
  @param status Status to be logged