public class PreserveLogLevelRule extends Object implements org.junit.rules.TestRule
Constructor and Description |
---|
PreserveLogLevelRule() |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
void |
changeLevel(Class clazz,
org.apache.log4j.Level level) |
void |
changeLevel(String className,
org.apache.log4j.Level level) |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
public void changeLevel(Class clazz, org.apache.log4j.Level level)
public void changeLevel(String className, org.apache.log4j.Level level)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.