(self, key, value, count=True)
| 102 | print("Failed to call ExternalLogger: {}".format(e)) |
| 103 | |
| 104 | def put_metric(self, key, value, count=True): |
| 105 | self._metrics[key] += value |
| 106 | if count: |
| 107 | count_key = '{}_count'.format(key) |
| 108 | self._metrics[count_key] += 1 |
| 109 | |
| 110 | |
| 111 | class State(): |
no test coverage detected