public class LogEmitterModule extends Object implements com.google.inject.Module
Modifier and Type | Field and Description |
---|---|
static String |
EMITTER_TYPE |
Constructor and Description |
---|
LogEmitterModule() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
com.metamx.emitter.core.Emitter |
makeEmitter(com.google.common.base.Supplier<com.metamx.emitter.core.LoggingEmitterConfig> config,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
public static final String EMITTER_TYPE
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
@Provides public com.metamx.emitter.core.Emitter makeEmitter(com.google.common.base.Supplier<com.metamx.emitter.core.LoggingEmitterConfig> config, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
Copyright © 2011–2015. All rights reserved.