org.apache.maven.cli.logging.impl
Class Log4j2Configuration
java.lang.Object
org.apache.maven.cli.logging.BaseSlf4jConfiguration
org.apache.maven.cli.logging.impl.Log4j2Configuration
- All Implemented Interfaces:
- Slf4jConfiguration
public class Log4j2Configuration
- extends BaseSlf4jConfiguration
Configuration for slf4j-log4j2.
- Author:
- Hervé Boutemy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4j2Configuration
public Log4j2Configuration()
setRootLoggerLevel
public void setRootLoggerLevel(Slf4jConfiguration.Level level)
- Description copied from interface:
Slf4jConfiguration
- Set root logging level.
- Specified by:
setRootLoggerLevel
in interface Slf4jConfiguration
- Overrides:
setRootLoggerLevel
in class BaseSlf4jConfiguration
- Parameters:
level
- the level
activate
public void activate()
- Description copied from interface:
Slf4jConfiguration
- Activate logging implementation configuration (if necessary).
- Specified by:
activate
in interface Slf4jConfiguration
- Overrides:
activate
in class BaseSlf4jConfiguration
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.