Class LogbackConfiguration
java.lang.Object
org.apache.maven.cli.logging.BaseSlf4jConfiguration
org.apache.maven.cli.logging.impl.LogbackConfiguration
- All Implemented Interfaces:
Slf4jConfiguration
Configuration for slf4j-logback.
- Since:
- 3.1.0
-
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
-
LogbackConfiguration
public LogbackConfiguration()
-
-
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
-