Class LoggingConfig
-
- All Implemented Interfaces:
public final class LoggingConfigSettings-group for ServerPackCreators log-level: stores the level uppercased and applies every change via the injected applyLogLevel-callback. The log4j-XML machinery itself stays with ApiProperties, which acts as log4j's ConfigurationFactory. Extracted from ApiProperties (refactor Phase 1b); ApiProperties remains the facade through which consumers access this value.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringLOG_LEVEL_KEYprivate StringlogLevel
-
Constructor Summary
Constructors Constructor Description LoggingConfig(PropertyStore store, Function1<String, Unit> applyLogLevel)
-
Method Summary
Modifier and Type Method Description final StringgetLogLevel()final UnitsetLogLevel(String value)-
-
Constructor Detail
-
LoggingConfig
LoggingConfig(PropertyStore store, Function1<String, Unit> applyLogLevel)
-
-
Method Detail
-
getLogLevel
final String getLogLevel()
-
setLogLevel
final Unit setLogLevel(String value)
-
-
-
-