public class Log4j2LevelAdjuster
extends java.lang.Object
implements org.junit.rules.MethodRule
Constructor and Description |
---|
Log4j2LevelAdjuster(org.apache.logging.log4j.Level level,
java.lang.Class<?>... classes) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
java.lang.Object target) |
Log4j2LevelAdjuster |
categories(java.lang.String... categoriesToAdjust) |
public Log4j2LevelAdjuster(org.apache.logging.log4j.Level level, java.lang.Class<?>... classes)
public Log4j2LevelAdjuster categories(java.lang.String... categoriesToAdjust)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, java.lang.Object target)
apply
in interface org.junit.rules.MethodRule