Package org.springframework.boot.logging
Class AbstractLoggingSystem.LogLevels<T>
- java.lang.Object
- org.springframework.boot.logging.AbstractLoggingSystem.LogLevels<T>
- Type Parameters:
T
- the native level type
- Enclosing class:
- AbstractLoggingSystem
protected static class AbstractLoggingSystem.LogLevels<T> extends Object
Maintains a mapping between native levels andLogLevel
.
Constructor Summary
Constructors Constructor Description LogLevels()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogLevel
convertNativeToSystem(T level)
T
convertSystemToNative(LogLevel level)
Set<LogLevel>
getSupported()
void
map(LogLevel system, T nativeLevel)
Constructor Detail
LogLevels
public LogLevels()
Method Detail
convertNativeToSystem
public LogLevel convertNativeToSystem(T level)
convertSystemToNative
public T convertSystemToNative(LogLevel level)
getSupported
public Set<LogLevel> getSupported()