class_docstr: Classifier tests
docstr: Classifier - Log Metrics
docstr_tok: ["Classifier","-","Log","Metrics"]
code: def test_log_metrics(self, metric_mock):
      """Classifier - Log Metrics"""
      payload_record = self._mock_payload_record()
      self._classifier._payloads = [payload_record]
      self._classifier._processed_size = 10
      self._classifier._failed_record_count = 10
      self._classifier._log_metrics()
  
      metric_mock.assert_any_call("classifier", "TotalRecords", 2)
      metric_mock.assert_any_call(
          "classifier", "TotalProcessedSize", 10
      )
      metric_mock.assert_any_call("classifier", "FailedParses", 10)
  
imports: from collections import OrderedDict
  import os
  from mock import Mock, patch
  from nose.tools import assert_equal, assert_raises
  import streamalert.classifier.classifier
  from streamalert.classifier.classifier import Classifier
  from streamalert.shared.exceptions import ConfigError
label_desc: Use image node_id 24 for calling the TestClassifier obj's underlying member method code with example usage: obj.test_log_metrics(metric_mock) without return types