Annotation Interface ConditionalOnEnabledLoggingExport


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(org.springframework.boot.actuate.autoconfigure.logging.OnEnabledLoggingExportCondition.class) public @interface ConditionalOnEnabledLoggingExport
@Conditional that checks whether logging export is enabled. It matches if the value of the management.logging.export.enabled property is true or if it is not configured. If the logging exporter name is set, the management.<name>.logging.export.enabled property can be used to control the behavior for the specific logging exporter. In that case, the exporter-specific property takes precedence over the global property.
Since:
3.4.0
Author:
Moritz Halbritter, Dmytro Nosan
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the logging exporter.
  • Element Details

    • value

      String value
      Name of the logging exporter.
      Returns:
      the name of the logging exporter
      Default:
      ""