Class LoggingSetupExtension

java.lang.Object
io.quarkus.test.config.LoggingSetupExtension
All Implemented Interfaces:
org.junit.jupiter.api.extension.Extension

public class LoggingSetupExtension extends Object implements org.junit.jupiter.api.extension.Extension
A global JUnit extension that enables/sets up basic logging if logging has not already been set up.

This is useful for getting log output from non-Quarkus tests (if executed separately or before the first Quarkus test), but also for getting instant log output from QuarkusTestResourceLifecycleManagers etc.

  • Constructor Details

    • LoggingSetupExtension

      public LoggingSetupExtension()