Class LogIfLevelEnabled
java.lang.Object
org.springframework.kafka.support.LogIfLevelEnabled
Wrapper for a commons-logging Log supporting configurable
logging levels.
- Since:
- 2.1.2
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionLogIfLevelEnabled
(org.springframework.core.log.LogAccessor logger, LogIfLevelEnabled.Level level) -
Method Summary
Modifier and TypeMethodDescriptionvoid
log
(Supplier<CharSequence> messageSupplier) void
log
(Supplier<CharSequence> messageSupplier, Throwable thrown)
-
Constructor Details
-
LogIfLevelEnabled
public LogIfLevelEnabled(org.springframework.core.log.LogAccessor logger, LogIfLevelEnabled.Level level)
-
-
Method Details
-
log
-
log
-