Class RecordLogsHook.RecordedLogsTrackingBundle

java.lang.Object
ru.vyarus.dropwizard.guice.test.log.RecordLogsHook.RecordedLogsTrackingBundle
All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>
Enclosing class:
RecordLogsHook

public final class RecordLogsHook.RecordedLogsTrackingBundle extends Object implements io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>
Technical bundle used to re-attach log recorders after dropwizard resets all loggers.
  • Constructor Details

    • RecordedLogsTrackingBundle

      public RecordedLogsTrackingBundle()
  • Method Details

    • run

      public void run(io.dropwizard.core.Configuration configuration, io.dropwizard.core.setup.Environment environment) throws Exception
      Specified by:
      run in interface io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>
      Throws:
      Exception