public class Log4J2LogFactory extends LogFactoryAdapter
LogFactory
implementation that delegates to the Log4J-2.x framework.
It's configuration key is openjpa.Log=log4j2
.Modifier and Type | Class and Description |
---|---|
static class |
Log4J2LogFactory.LogAdapter
Adapts a Log4J2 logger to the
Log
interface. |
Constructor and Description |
---|
Log4J2LogFactory() |
Modifier and Type | Method and Description |
---|---|
protected Log |
newLogAdapter(String channel)
Return a log adapter for the given channel.
|
getLog
protected Log newLogAdapter(String channel)
LogFactoryAdapter
newLogAdapter
in class LogFactoryAdapter
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.