public class LoggerAuditingExtension extends Object implements org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback
Implementation note: Make sure to not expose log4j dependencies in the interface of this class to ease updates in logging infrastructure.
| Constructor and Description |
|---|
LoggerAuditingExtension(Class<?> clazz,
org.slf4j.event.Level level) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
beforeEach(org.junit.jupiter.api.extension.ExtensionContext context) |
List<String> |
getMessages() |
public LoggerAuditingExtension(Class<?> clazz, org.slf4j.event.Level level)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.