Package org.apache.maven.cling.logging
Class BaseSlf4jConfiguration
java.lang.Object
org.apache.maven.cling.logging.BaseSlf4jConfiguration
- All Implemented Interfaces:
Slf4jConfiguration
- Direct Known Subclasses:
Log4j2Configuration
,LogbackConfiguration
,MavenSimpleConfiguration
,UnsupportedSlf4jBindingConfiguration
Abstract implementation.
- Since:
- 3.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.cling.logging.Slf4jConfiguration
Slf4jConfiguration.Level
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
Activate logging implementation configuration (if necessary).void
Set root logging level.
-
Constructor Details
-
BaseSlf4jConfiguration
public BaseSlf4jConfiguration()
-
-
Method Details
-
setRootLoggerLevel
Description copied from interface:Slf4jConfiguration
Set root logging level.- Specified by:
setRootLoggerLevel
in interfaceSlf4jConfiguration
- Parameters:
level
- the level
-
activate
public void activate()Description copied from interface:Slf4jConfiguration
Activate logging implementation configuration (if necessary).- Specified by:
activate
in interfaceSlf4jConfiguration
-