org.apache.maven.cli.logging
Class BaseSlf4jConfiguration

java.lang.Object
  extended by org.apache.maven.cli.logging.BaseSlf4jConfiguration
All Implemented Interfaces:
Slf4jConfiguration
Direct Known Subclasses:
Log4j2Configuration, LogbackConfiguration, Slf4jSimpleConfiguration

public class BaseSlf4jConfiguration
extends Object
implements Slf4jConfiguration

Abstract implementation.

Author:
Hervé Boutemy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.maven.cli.logging.Slf4jConfiguration
Slf4jConfiguration.Level
 
Constructor Summary
BaseSlf4jConfiguration()
           
 
Method Summary
 void activate()
          Activate logging implementation configuration (if necessary).
 void setRootLoggerLevel(Slf4jConfiguration.Level level)
          Set root logging level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSlf4jConfiguration

public BaseSlf4jConfiguration()
Method Detail

setRootLoggerLevel

public void setRootLoggerLevel(Slf4jConfiguration.Level level)
Description copied from interface: Slf4jConfiguration
Set root logging level.

Specified by:
setRootLoggerLevel in interface Slf4jConfiguration
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


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.