批注接口 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.- 从以下版本开始:
- 3.4.0
- 作者:
- Moritz Halbritter, Dmytro Nosan
-
可选元素概要
可选元素
-
元素详细资料
-
value
String valueName of the logging exporter.- 返回:
- the name of the logging exporter
- 默认值:
""
-