Package org.jclouds.logging.config
Class LoggingModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.logging.config.LoggingModule
-
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
ConsoleLoggingModule
,JDKLoggingModule
,Log4JLoggingModule
,NullLoggingModule
,SLF4JLoggingModule
public abstract class LoggingModule extends com.google.inject.AbstractModule
Creates a post-injection listener that binds Loggers named the same as the enclosing class.
-
-
Constructor Summary
Constructors Constructor Description LoggingModule()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
configure()
abstract Logger.LoggerFactory
createLoggerFactory()
Logger.LoggerFactory
provideLoggerFactory()
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classcom.google.inject.AbstractModule
-
provideLoggerFactory
@Provides @Singleton public final Logger.LoggerFactory provideLoggerFactory()
-
createLoggerFactory
public abstract Logger.LoggerFactory createLoggerFactory()
-
-