public class LogLevelAdjuster extends Object implements org.junit.rules.MethodRule
Constructor and Description |
---|
LogLevelAdjuster(org.apache.logging.log4j.Level level,
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,
Object target) |
LogLevelAdjuster |
categories(String... categoriesToAdjust) |
public LogLevelAdjuster(org.apache.logging.log4j.Level level, Class<?>... classes)
public LogLevelAdjuster categories(String... categoriesToAdjust)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
apply
in interface org.junit.rules.MethodRule