com.googlecode.sli4j.slf4j
Class Slf4jLoggerInjector
java.lang.Object
com.googlecode.sli4j.core.AbstractLoggerInjector<org.slf4j.Logger>
com.googlecode.sli4j.slf4j.Slf4jLoggerInjector
- All Implemented Interfaces:
- com.google.inject.MembersInjector<org.slf4j.Logger>
public final class Slf4jLoggerInjector
- extends AbstractLoggerInjector<org.slf4j.Logger>
SLF4J logger injector implementation.
- Version:
- $Id: Slf4jLoggerInjector.java 243 2010-06-05 14:20:53Z simone.tripodi $
- Author:
- Simone Tripodi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Slf4jLoggerInjector
public Slf4jLoggerInjector(Field field)
- Creates a new
SLF4J Logger injector.
- Parameters:
field - the logger field has to be injected.
createLogger
protected org.slf4j.Logger createLogger(Class<?> klass)
-
- Specified by:
createLogger in class AbstractLoggerInjector<org.slf4j.Logger>
Copyright © 2010. All Rights Reserved.