public class Slf4jLogFactory extends LogFactory
Slf4jLog
instances.Constructor and Description |
---|
Slf4jLogFactory()
Creates a new Slf4jLogFactory.
|
Modifier and Type | Method and Description |
---|---|
protected Log |
doGetLog(Class<?> clazz)
Delegate method for the instantiated
LogFactory . |
getLog
public Slf4jLogFactory() throws RuntimeException
RuntimeException
- On a failure to find the SLF4J Logger.protected Log doGetLog(Class<?> clazz)
LogFactory
.
Overridden to return a Slf4jLog
instance if SLF4J LoggerFactory
returns a LocationAwareLogger instance. Otherwise a JulLog
is
returned.
doGetLog
in class LogFactory
clazz
- The name of the class to create a log instance for.Log
instance for the class.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.