Class ExternalLoggingFactory

java.lang.Object
io.dropwizard.logging.common.ExternalLoggingFactory
All Implemented Interfaces:
Discoverable, LoggingFactory

public class ExternalLoggingFactory extends Object implements LoggingFactory
A no-op logging factory to use when logging is configured independently of Dropwizard.
  • Constructor Details

    • ExternalLoggingFactory

      public ExternalLoggingFactory()
  • Method Details

    • configure

      public void configure(com.codahale.metrics.MetricRegistry metricRegistry, String name)
      Specified by:
      configure in interface LoggingFactory
    • stop

      public void stop()
      Description copied from interface: LoggingFactory
      Should flush all log messages but not disable logging
      Specified by:
      stop in interface LoggingFactory
    • reset

      public void reset()
      Description copied from interface: LoggingFactory
      Mainly useful in testing to reset the logging to a sane default before the next test configures logging to a desired level.
      Specified by:
      reset in interface LoggingFactory