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
LogFactory
implementation that delegates to the Log4J-2.x framework.
It's configuration key is openjpa.Log=log4j2
.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Log
newLogAdapter
(String channel) Return a log adapter for the given channel.Methods inherited from class org.apache.openjpa.lib.log.LogFactoryAdapter
getLog
-
Constructor Details
-
Log4J2LogFactory
public Log4J2LogFactory()
-
-
Method Details
-
newLogAdapter
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 classLogFactoryAdapter
-