Package org.apache.maven.cli.logging
Class BaseSlf4jConfiguration
- java.lang.Object
-
- org.apache.maven.cli.logging.BaseSlf4jConfiguration
-
- All Implemented Interfaces:
Slf4jConfiguration
- Direct Known Subclasses:
Log4j2Configuration,LogbackConfiguration,Slf4jSimpleConfiguration,UnsupportedSlf4jBindingConfiguration
public class BaseSlf4jConfiguration extends java.lang.Object implements Slf4jConfiguration
Abstract implementation.- Since:
- 3.1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.maven.cli.logging.Slf4jConfiguration
Slf4jConfiguration.Level
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description BaseSlf4jConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()Activate logging implementation configuration (if necessary).voidsetRootLoggerLevel(Slf4jConfiguration.Level level)Set root logging level.
-
-
-
Method Detail
-
setRootLoggerLevel
public void setRootLoggerLevel(Slf4jConfiguration.Level level)
Description copied from interface:Slf4jConfigurationSet root logging level.- Specified by:
setRootLoggerLevelin interfaceSlf4jConfiguration- Parameters:
level- the level
-
activate
public void activate()
Description copied from interface:Slf4jConfigurationActivate logging implementation configuration (if necessary).- Specified by:
activatein interfaceSlf4jConfiguration
-
-