Class LogModule

  extended by
      extended by com.twitter.common.application.modules.LogModule
All Implemented Interfaces:

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
Method Summary
protected  void configure()
Methods inherited from class
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


public LogModule()
Method Detail


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