org.apache.openjpa.lib.log
Class SLF4JLogFactory

java.lang.Object
  extended by org.apache.openjpa.lib.log.LogFactoryAdapter
      extended by org.apache.openjpa.lib.log.SLF4JLogFactory
All Implemented Interfaces:
LogFactory

public class SLF4JLogFactory
extends LogFactoryAdapter

LogFactory implementation that delegates to the SLF4J framework.


Nested Class Summary
static class SLF4JLogFactory.LogAdapter
          Adapts a Log4J logger to the Log interface.
 
Constructor Summary
SLF4JLogFactory()
           
 
Method Summary
protected  Log newLogAdapter(String channel)
          Return a log adapter for the given channel.
 
Methods inherited from class org.apache.openjpa.lib.log.LogFactoryAdapter
getLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLF4JLogFactory

public SLF4JLogFactory()
Method Detail

newLogAdapter

protected Log newLogAdapter(String channel)
Description copied from class: LogFactoryAdapter
Return a log adapter for the given channel. This method may be called multiple times for the same channel in concurrent situations.

Specified by:
newLogAdapter in class LogFactoryAdapter


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.