@Override
    public void start() {
        this.all = registry.meter(name(getName(), "all"));
        this.trace = registry.meter(name(getName(), "trace"));
        this.debug = registry.meter(name(getName(), "debug"));
        this.info = registry.meter(name(getName(), "info"));
        this.warn = registry.meter(name(getName(), "warn"));
        this.error = registry.meter(name(getName(), "error"));
        super.start();
    }
@Test
    public void usesDefaultRegistry() {
        SharedMetricRegistries.add(InstrumentedAppender.DEFAULT_REGISTRY, registry);
        final InstrumentedAppender shared = new InstrumentedAppender();
        shared.start();
        when(event.getLevel()).thenReturn(Level.INFO);
        shared.doAppend(event);

        assertThat(SharedMetricRegistries.names()).contains(InstrumentedAppender.DEFAULT_REGISTRY);
        assertThat(registry.meter(METRIC_NAME_PREFIX + ".info").getCount())
                .isEqualTo(1);
    }