Package io.dropwizard.logging.common
Class ExternalLoggingFactory
java.lang.Object
io.dropwizard.logging.common.ExternalLoggingFactory
- All Implemented Interfaces:
Discoverable
,LoggingFactory
A no-op logging factory to use when logging is configured independently of Dropwizard.
-
Constructor Details
-
ExternalLoggingFactory
public ExternalLoggingFactory()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceLoggingFactory
-
stop
public void stop()Description copied from interface:LoggingFactory
Should flush all log messages but not disable logging- Specified by:
stop
in interfaceLoggingFactory
-
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 interfaceLoggingFactory
-