public abstract class GelfLoggingBundle<T extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<T>
ConfiguredBundle which configures and adds GelfAppender to Logback.| Constructor and Description |
|---|
GelfLoggingBundle() |
| Modifier and Type | Method and Description |
|---|---|
abstract GelfConfiguration |
getConfiguration(T configuration)
Get the
GelfConfiguration object from the supplied Configuration. |
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
Initializes the service bootstrap.
|
void |
run(T configuration,
io.dropwizard.setup.Environment environment)
Initializes the environment.
|
public void run(T configuration, io.dropwizard.setup.Environment environment) throws Exception
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>bootstrap - the service bootstrappublic abstract GelfConfiguration getConfiguration(T configuration)
GelfConfiguration object from the supplied Configuration.configuration - The Configuration of the serviceGelfConfiguration of the serviceCopyright © 2014. All rights reserved.