public class TestLoggerResource
extends org.junit.rules.ExternalResource
Implementation note: Make sure to not expose log4j dependencies in the interface of this class to ease updates in logging infrastructure.
Constructor and Description |
---|
TestLoggerResource(Class<?> clazz,
org.slf4j.event.Level level) |
Modifier and Type | Method and Description |
---|---|
protected void |
after() |
protected void |
before() |
List<String> |
getMessages() |
public TestLoggerResource(Class<?> clazz, org.slf4j.event.Level level)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.