List of usage examples for org.apache.commons.logging LogFactory getLog
public static Log getLog(String name)
From source file:com.orangeleap.common.security.OrangeLeapLogger.java
private OrangeLeapLogger(Class clazz) { logger = LogFactory.getLog(clazz); }
From source file:jp.techie.achicoco.framework.util.LogUtil.java
/** * * * @param clz Class */ public LogUtil(Class<?> clz) { this.clz = clz; log = LogFactory.getLog(clz); }
From source file:com.amazonaws.logging.ApacheCommonsLogging.java
/** * @param logClass the class object//from www . ja v a2 s . c om */ public ApacheCommonsLogging(Class logClass) { this.logClass = logClass; this.log = LogFactory.getLog(logClass); }
From source file:fr.aliasource.index.core.Index.java
public Index(String type) { logger = LogFactory.getLog(getClass()); this.indexType = type; // writeQueue = new LinkedBlockingQueue<Map<String, String>>(); // idDeletionQueue = new LinkedBlockingQueue<String>(); // rwLock = new ReentrantReadWriteLock(false); // aiw = new AsyncIndexWriter(rwLock, writeQueue, idDeletionQueue, // this);/*from w ww . j a v a 2s . c om*/ }
From source file:io.smartspaces.api.system.internal.osgi.Log4jLoggingProvider.java
/** * Configure the provider. */ public void configure() { baseContainerLog = LogFactory.getLog("smartspaces"); }
From source file:ch.ethz.iks.slp.impl.StandalonePlatformAbstraction.java
/** * */ public StandalonePlatformAbstraction() { log = LogFactory.getLog(SLPCore.class); }
From source file:com.adsapient.test.BaseTestCase.java
protected void setUp() throws Exception { super.setUp(); LogFactory.getLog(getClass()) .info("Running com.adsapient.adserver.test " + getClass().getName() + "." + getName()); }
From source file:com.adaptris.util.ByteArrayDataSourceTest.java
@Override protected void setUp() throws Exception { super.setUp(); logR = LogFactory.getLog(this.getClass()); }
From source file:com.google.cloud.bigtable.config.Logger.java
/** * <p>Constructor for Logger.</p> * * @param logClass a {@link java.lang.Class} object. *///from w w w . j a v a 2s . co m public Logger(Class<?> logClass) { this.log = LogFactory.getLog(logClass); }
From source file:com.picocontainer.gems.injectors.CommonsLoggingInjector.java
@Override public Log getComponentInstance(final PicoContainer container, final Type into) throws PicoCompositionException { return LogFactory.getLog((((InjectInto) into).getIntoClass()).getName()); }