Package org.apache.openjpa.lib.log
Class Log4J2LogFactory.LogAdapter
- java.lang.Object
- 
- org.apache.openjpa.lib.log.Log4J2LogFactory.LogAdapter
 
- 
- All Implemented Interfaces:
- Log
 - Enclosing class:
- Log4J2LogFactory
 
 public static class Log4J2LogFactory.LogAdapter extends java.lang.Object implements Log Adapts a Log4J2 logger to theLoginterface.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(java.lang.Object o)Write out a log message at theLog.ERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log.voiderror(java.lang.Object o, java.lang.Throwable t)Write out a log message at theLog.ERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidfatal(java.lang.Object o)Write out a log message at theLog.FATALlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidfatal(java.lang.Object o, java.lang.Throwable t)Write out a log message at theLog.FATALlevel with the stringification ofoas the body of the message, also outputtingtto the log.org.apache.logging.log4j.LoggergetDelegate()voidinfo(java.lang.Object o)Write out a log message at theLog.INFOlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidinfo(java.lang.Object o, java.lang.Throwable t)Write out a log message at theLog.INFOlevel with the stringification ofoas the body of the message, also outputtingtto the log.booleanisErrorEnabled()Returns if theLog.ERRORlog level is enabled.booleanisFatalEnabled()Returns if theLog.FATALlog level is enabled.booleanisInfoEnabled()Returns if theLog.INFOlog level is enabled.booleanisTraceEnabled()Returns if theLog.TRACElog level is enabled.booleanisWarnEnabled()Returns if theLog.WARNlog level is enabled.voidtrace(java.lang.Object o)Write out a log message at theLog.TRACElevel with the stringification ofoas the body of the message.voidtrace(java.lang.Object o, java.lang.Throwable t)Write out a log message at theLog.TRACElevel with the stringification ofoas the body of the message, also outputtingtto the log.voidwarn(java.lang.Object o)Write out a log message at theLog.WARNlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidwarn(java.lang.Object o, java.lang.Throwable t)Write out a log message at theLog.WARNlevel with the stringification ofoas the body of the message, also outputtingtto the log.
 
- 
- 
- 
Method Detail- 
getDelegatepublic org.apache.logging.log4j.Logger getDelegate() 
 - 
isTraceEnabledpublic boolean isTraceEnabled() Description copied from interface:LogReturns if theLog.TRACElog level is enabled.- Specified by:
- isTraceEnabledin interface- Log
 
 - 
isInfoEnabledpublic boolean isInfoEnabled() Description copied from interface:LogReturns if theLog.INFOlog level is enabled.- Specified by:
- isInfoEnabledin interface- Log
 
 - 
isWarnEnabledpublic boolean isWarnEnabled() Description copied from interface:LogReturns if theLog.WARNlog level is enabled.- Specified by:
- isWarnEnabledin interface- Log
 
 - 
isErrorEnabledpublic boolean isErrorEnabled() Description copied from interface:LogReturns if theLog.ERRORlog level is enabled.- Specified by:
- isErrorEnabledin interface- Log
 
 - 
isFatalEnabledpublic boolean isFatalEnabled() Description copied from interface:LogReturns if theLog.FATALlog level is enabled.- Specified by:
- isFatalEnabledin interface- Log
 
 - 
tracepublic void trace(java.lang.Object o) Description copied from interface:LogWrite out a log message at theLog.TRACElevel with the stringification ofoas the body of the message.
 - 
tracepublic void trace(java.lang.Object o, java.lang.Throwable t)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.
 - 
infopublic void info(java.lang.Object o) 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.
 - 
infopublic void info(java.lang.Object o, java.lang.Throwable t)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.
 - 
warnpublic void warn(java.lang.Object o) 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.
 - 
warnpublic void warn(java.lang.Object o, java.lang.Throwable t)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.
 - 
errorpublic void error(java.lang.Object o) 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.
 - 
errorpublic void error(java.lang.Object o, java.lang.Throwable t)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.
 - 
fatalpublic void fatal(java.lang.Object o) 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.
 
- 
 
-