Class LogCollectingTestResource

java.lang.Object
io.quarkus.test.LogCollectingTestResource
All Implemented Interfaces:
io.quarkus.test.common.QuarkusTestResourceLifecycleManager

public class LogCollectingTestResource extends Object implements io.quarkus.test.common.QuarkusTestResourceLifecycleManager
  • Field Details

  • Constructor Details

    • LogCollectingTestResource

      public LogCollectingTestResource()
  • Method Details

    • format

      public static String format(LogRecord record)
    • current

      public static LogCollectingTestResource current()
    • getRecords

      public List<LogRecord> getRecords()
    • clear

      public void clear()
    • init

      public void init(Map<String,String> initArgs)
      Specified by:
      init in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • start

      public Map<String,String> start()
      Specified by:
      start in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • stop

      public void stop()
      Specified by:
      stop in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager