Class LogbackMeterRegistryBinderFactory
java.lang.Object
io.micronaut.configuration.metrics.binder.logging.LogbackMeterRegistryBinderFactory
@Factory
@Requires(classes=ch.qos.logback.classic.Logger.class) @Requires(property="micronaut.metrics.binders.logback.enabled",notEquals="false")
@RequiresMetrics
public class LogbackMeterRegistryBinderFactory
extends Object
Creates the logback metrics beans.
- Since:
- 1.0
- Author:
- Christian Oestreich
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.binder.logging.LogbackMetrics
Logback metrics bean.
-
Constructor Details
-
LogbackMeterRegistryBinderFactory
public LogbackMeterRegistryBinderFactory()
-
-
Method Details
-
logbackMetrics
@Bean @Singleton @Primary public io.micrometer.core.instrument.binder.logging.LogbackMetrics logbackMetrics()Logback metrics bean.- Returns:
- logbackMetrics bean
-