public abstract class GelfLoggingBundle<T extends com.yammer.dropwizard.config.Configuration> extends Object implements com.yammer.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(com.yammer.dropwizard.config.Bootstrap<?> bootstrap)
Initializes the service bootstrap.
|
void |
run(T configuration,
com.yammer.dropwizard.config.Environment environment)
Initializes the environment.
|
public void run(T configuration, com.yammer.dropwizard.config.Environment environment) throws Exception
public void initialize(com.yammer.dropwizard.config.Bootstrap<?> bootstrap)
initialize in interface com.yammer.dropwizard.ConfiguredBundle<T extends com.yammer.dropwizard.config.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.