Class LogIfLevelEnabled
- java.lang.Object
-
- org.springframework.kafka.support.LogIfLevelEnabled
-
public final class LogIfLevelEnabled extends java.lang.Object
Wrapper for a commons-logging Log supporting configurable logging levels.- Since:
- 2.1.2
- Author:
- Gary Russell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogIfLevelEnabled.Level
Logging levels.
-
Constructor Summary
Constructors Constructor Description LogIfLevelEnabled(org.springframework.core.log.LogAccessor logger, LogIfLevelEnabled.Level level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
log(java.util.function.Supplier<java.lang.CharSequence> messageSupplier)
void
log(java.util.function.Supplier<java.lang.CharSequence> messageSupplier, java.lang.Throwable thrown)
-
-
-
Constructor Detail
-
LogIfLevelEnabled
public LogIfLevelEnabled(org.springframework.core.log.LogAccessor logger, LogIfLevelEnabled.Level level)
-
-