@Override
  public ProcessingLogger getLogger(
      final String name
  ) {
    return getLogger(name, Collections.emptyMap());
  }
@Test
  public void shouldReturnExistingLogger() {
    // When:
    factory.getLogger("boo.far", Collections.singletonMap("tag-value", "some-id-1"));
    factory.getLogger("boo.far", Collections.singletonMap("tag-value", "some-id-2"));
    factory.getLogger("boo.far", Collections.singletonMap("tag-value", "some-id-3"));
    final Sensor sensor = metricCollectors.getMetrics().getSensor("boo.far");

    // Then:
    verify(innerFactory, times(1)).getLogger("boo.far");
    verify(loggerFactory, times(1)).apply(config, innerLogger);
    verify(loggerWithMetricsFactory, times(1)).apply(metricCollectors.getMetrics());
    verify(loggerWithMetricsFactoryHelper, times(1)).apply(logger, sensor);
  }