Package org.apache.openjpa.lib.log
Class Log4JLogFactory
- java.lang.Object
-
- org.apache.openjpa.lib.log.LogFactoryAdapter
-
- org.apache.openjpa.lib.log.Log4JLogFactory
-
- All Implemented Interfaces:
LogFactory
public class Log4JLogFactory extends LogFactoryAdapter
LogFactoryimplementation that delegates to the Log4J 1.x framework.- Author:
- Patrick Linskey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLog4JLogFactory.LogAdapterAdapts a Log4J logger to theLoginterface.
-
Constructor Summary
Constructors Constructor Description Log4JLogFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LognewLogAdapter(java.lang.String channel)Return a log adapter for the given channel.-
Methods inherited from class org.apache.openjpa.lib.log.LogFactoryAdapter
getLog
-
-
-
-
Method Detail
-
newLogAdapter
protected Log newLogAdapter(java.lang.String channel)
Description copied from class:LogFactoryAdapterReturn a log adapter for the given channel. This method may be called multiple times for the same channel in concurrent situations.- Specified by:
newLogAdapterin classLogFactoryAdapter
-
-