Package org.apache.openjpa.lib.log
Class Log4JLogFactory.LogAdapter
java.lang.Object
org.apache.openjpa.lib.log.Log4JLogFactory.LogAdapter
- All Implemented Interfaces:
Log
- Enclosing class:
- Log4JLogFactory
Adapts a Log4J logger to the
Log
interface.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoidWrite out a log message at theLog.ERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theLog.ERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theLog.FATALlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theLog.FATALlevel with the stringification ofoas the body of the message, also outputtingtto the log.org.apache.log4j.LoggervoidWrite out a log message at theLog.INFOlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theLog.INFOlevel with the stringification ofoas the body of the message, also outputtingtto the log.booleanReturns if theLog.ERRORlog level is enabled.booleanReturns if theLog.FATALlog level is enabled.booleanReturns if theLog.INFOlog level is enabled.booleanReturns if theLog.TRACElog level is enabled.booleanReturns if theLog.WARNlog level is enabled.voidWrite out a log message at theLog.TRACElevel with the stringification ofoas the body of the message.voidWrite out a log message at theLog.TRACElevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theLog.WARNlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theLog.WARNlevel with the stringification ofoas the body of the message, also outputtingtto the log.
-
Method Details
-
getDelegate
public org.apache.log4j.Logger getDelegate() -
isTraceEnabled
public boolean isTraceEnabled()Description copied from interface:LogReturns if theLog.TRACElog level is enabled.- Specified by:
isTraceEnabledin interfaceLog
-
isInfoEnabled
public boolean isInfoEnabled()Description copied from interface:LogReturns if theLog.INFOlog level is enabled.- Specified by:
isInfoEnabledin interfaceLog
-
isWarnEnabled
public boolean isWarnEnabled()Description copied from interface:LogReturns if theLog.WARNlog level is enabled.- Specified by:
isWarnEnabledin interfaceLog
-
isErrorEnabled
public boolean isErrorEnabled()Description copied from interface:LogReturns if theLog.ERRORlog level is enabled.- Specified by:
isErrorEnabledin interfaceLog
-
isFatalEnabled
public boolean isFatalEnabled()Description copied from interface:LogReturns if theLog.FATALlog level is enabled.- Specified by:
isFatalEnabledin interfaceLog
-
trace
Description copied from interface:LogWrite out a log message at theLog.TRACElevel with the stringification ofoas the body of the message. -
trace
Description copied from interface:LogWrite out a log message at theLog.TRACElevel with the stringification ofoas the body of the message, also outputtingtto the log. -
info
Description copied from interface:LogWrite out a log message at theLog.INFOlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
info
Description copied from interface:LogWrite out a log message at theLog.INFOlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
warn
Description copied from interface:LogWrite out a log message at theLog.WARNlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
warn
Description copied from interface:LogWrite out a log message at theLog.WARNlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
error
Description copied from interface:LogWrite out a log message at theLog.ERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
error
Description copied from interface:LogWrite out a log message at theLog.ERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
fatal
Description copied from interface:LogWrite out a log message at theLog.FATALlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
fatal
Description copied from interface:LogWrite out a log message at theLog.FATALlevel with the stringification ofoas the body of the message, also outputtingtto the log.
-