org.apache.openjpa.lib.log
Class Log4JLogFactory

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

public class Log4JLogFactory
extends LogFactoryAdapter

LogFactory implementation that delegates to the Log4J framework.

Author:
Patrick Linskey

Nested Class Summary
static class Log4JLogFactory.LogAdapter
          Adapts a Log4J logger to the Log interface.
 
Constructor Summary
Log4JLogFactory()
           
 
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

Log4JLogFactory

public Log4JLogFactory()
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.