io microsphere logging test jupiter extension logging LoggingLevelCallback - microsphere-projects/microsphere-logging GitHub Wiki
Type: Class | Module: microsphere-logging-test | Package: io.microsphere.logging.test.jupiter.extension.logging | Since: 1.0.0
The Callback to set logging level before test method and recover it after test method.
class LoggingLevelCallback implements BeforeEachCallback, AfterEachCallbackAuthor: Mercy
-
Introduced in:
1.0.0 -
Current Project Version:
0.1.6-SNAPSHOT
This component is tested and compatible with the following Java versions:
| Java Version | Status |
|---|---|
| Java 8 | ✅ Compatible |
| Java 11 | ✅ Compatible |
| Java 17 | ✅ Compatible |
| Java 21 | ✅ Compatible |
| Java 25 | ✅ Compatible |
Add the following dependency to your pom.xml:
<dependency>
<groupId>io.github.microsphere-projects</groupId>
<artifactId>microsphere-logging-test</artifactId>
<version>${microsphere-logging.version}</version>
</dependency>Tip: Use the BOM (
microsphere-logging-dependencies) for consistent version management. See the Getting Started guide.
import io.microsphere.logging.test.jupiter.extension.logging.LoggingLevelCallback;| Method | Description |
|---|---|
beforeEach |
|
afterEach |
BeforeEachCallbackAfterEachCallback
This documentation was auto-generated from the source code of microsphere-logging.