public class LogLevelExtension extends Object implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback
Modifier and Type | Field and Description |
---|---|
static boolean |
LOGGING_ENABLED |
Constructor and Description |
---|
LogLevelExtension() |
Modifier and Type | Method and Description |
---|---|
void |
afterAll(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) |
LogLevelExtension |
set(Class<?> clazz,
org.slf4j.event.Level level) |
LogLevelExtension |
set(Package logPackage,
org.slf4j.event.Level level) |
LogLevelExtension |
set(String classOrPackageName,
org.slf4j.event.Level level) |
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
beforeAll
in interface org.junit.jupiter.api.extension.BeforeAllCallback
Exception
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
afterAll
in interface org.junit.jupiter.api.extension.AfterAllCallback
Exception
public LogLevelExtension set(Class<?> clazz, org.slf4j.event.Level level)
public LogLevelExtension set(Package logPackage, org.slf4j.event.Level level)
public LogLevelExtension set(String classOrPackageName, org.slf4j.event.Level level)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.