public class Log4jLogger
extends org.junit.rules.TestWatcher
Constructor and Description |
---|
Log4jLogger()
Creates a watcher of the root category
|
Log4jLogger(Class<?> clazz)
Creates a watcher of the given class category
|
Log4jLogger(String category)
Creates a watcher of the given category
|
public Log4jLogger(String category)
category
- the category to watchpublic Log4jLogger()
public Log4jLogger(Class<?> clazz)
clazz
- the class category to watchprotected void starting(org.junit.runner.Description description)
starting
in class org.junit.rules.TestWatcher
protected void finished(org.junit.runner.Description description)
finished
in class org.junit.rules.TestWatcher
public String getMessage()
public void reset()
public void setLevel(org.apache.log4j.Level level)
Copyright © 2002-2015 Atlassian. All Rights Reserved.