public class Log4j2Configuration extends BaseSlf4jConfiguration
Slf4jConfiguration.Level
Constructor and Description |
---|
Log4j2Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activate logging implementation configuration (if necessary).
|
void |
setRootLoggerLevel(Slf4jConfiguration.Level level)
Set root logging level.
|
public Log4j2Configuration()
public void setRootLoggerLevel(Slf4jConfiguration.Level level)
Slf4jConfiguration
setRootLoggerLevel
in interface Slf4jConfiguration
setRootLoggerLevel
in class BaseSlf4jConfiguration
level
- the levelpublic void activate()
Slf4jConfiguration
activate
in interface Slf4jConfiguration
activate
in class BaseSlf4jConfiguration
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.