org.jclouds.logging.config
Class NullLoggingModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.logging.config.LoggingModule
          extended by org.jclouds.logging.config.NullLoggingModule
All Implemented Interfaces:
com.google.inject.Module

public class NullLoggingModule
extends LoggingModule

Configures logging of type NullLogger

Author:
Adrian Cole

Constructor Summary
NullLoggingModule()
           
 
Method Summary
protected  void configure()
          note that we override, as if we are not logging, there's no use in the overhead of listening for loggers
 Logger.LoggerFactory createLoggerFactory()
           
 
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

NullLoggingModule

public NullLoggingModule()
Method Detail

createLoggerFactory

public Logger.LoggerFactory createLoggerFactory()
Specified by:
createLoggerFactory in class LoggingModule

configure

protected void configure()
note that we override, as if we are not logging, there's no use in the overhead of listening for loggers

Overrides:
configure in class LoggingModule


Copyright © 2009-2011 jclouds. All Rights Reserved.