com.twitter.common.application.modules
Class LogModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.twitter.common.application.modules.LogModule
All Implemented Interfaces:
Module

public class LogModule
extends AbstractModule

Binding module for logging-related bindings, such as the log directory. This module uses a single optional command line argument 'log_dir'. If unset, the logging directory will be auto-discovered via: LogUtil.getLogManagerLogDir(). Bindings provided by this module:

Default bindings that may be overridden:


Nested Class Summary
static class LogModule.ExportLogDir
           
 
Constructor Summary
LogModule()
           
 
Method Summary
protected  void configure()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogModule

public LogModule()
Method Detail

configure

protected void configure()
Specified by:
configure in class AbstractModule