Class Slf4jSimpleConfiguration
java.lang.Object
org.apache.maven.cli.logging.BaseSlf4jConfiguration
org.apache.maven.cli.logging.impl.Slf4jSimpleConfiguration
- All Implemented Interfaces:
Slf4jConfiguration
Configuration for slf4j-simple.
- Since:
- 3.1.0
- Author:
- Hervé Boutemy
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.cli.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
-
Slf4jSimpleConfiguration
public Slf4jSimpleConfiguration()
-
-
Method Details
-
setRootLoggerLevel
Description copied from interface:Slf4jConfiguration
Set root logging level.- Specified by:
setRootLoggerLevel
in interfaceSlf4jConfiguration
- Overrides:
setRootLoggerLevel
in classBaseSlf4jConfiguration
- Parameters:
level
- the level
-
activate
public void activate()Description copied from interface:Slf4jConfiguration
Activate logging implementation configuration (if necessary).- Specified by:
activate
in interfaceSlf4jConfiguration
- Overrides:
activate
in classBaseSlf4jConfiguration
-