Package org.apache.openjpa.lib.log
Class Log4J2LogFactory
- java.lang.Object
- 
- org.apache.openjpa.lib.log.LogFactoryAdapter
- 
- org.apache.openjpa.lib.log.Log4J2LogFactory
 
 
- 
- All Implemented Interfaces:
- LogFactory
 
 public class Log4J2LogFactory extends LogFactoryAdapter LogFactoryimplementation that delegates to the Log4J-2.x framework. It's configuration key isopenjpa.Log=log4j2.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classLog4J2LogFactory.LogAdapterAdapts a Log4J2 logger to theLoginterface.
 - 
Constructor SummaryConstructors Constructor Description Log4J2LogFactory()
 - 
Method SummaryAll 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.LogFactoryAdaptergetLog
 
- 
 
- 
- 
- 
Method Detail- 
newLogAdapterprotected 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 class- LogFactoryAdapter
 
 
- 
 
-