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 TypeMethodDescriptionvoid
Write out a log message at theLog.ERROR
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theLog.ERROR
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theLog.FATAL
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theLog.FATAL
level with the stringification ofo
as the body of the message, also outputtingt
to the log.org.apache.log4j.Logger
void
Write out a log message at theLog.INFO
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theLog.INFO
level with the stringification ofo
as the body of the message, also outputtingt
to the log.boolean
Returns if theLog.ERROR
log level is enabled.boolean
Returns if theLog.FATAL
log level is enabled.boolean
Returns if theLog.INFO
log level is enabled.boolean
Returns if theLog.TRACE
log level is enabled.boolean
Returns if theLog.WARN
log level is enabled.void
Write out a log message at theLog.TRACE
level with the stringification ofo
as the body of the message.void
Write out a log message at theLog.TRACE
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theLog.WARN
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theLog.WARN
level with the stringification ofo
as the body of the message, also outputtingt
to the log.
-
Method Details
-
getDelegate
public org.apache.log4j.Logger getDelegate() -
isTraceEnabled
public boolean isTraceEnabled()Description copied from interface:Log
Returns if theLog.TRACE
log level is enabled.- Specified by:
isTraceEnabled
in interfaceLog
-
isInfoEnabled
public boolean isInfoEnabled()Description copied from interface:Log
Returns if theLog.INFO
log level is enabled.- Specified by:
isInfoEnabled
in interfaceLog
-
isWarnEnabled
public boolean isWarnEnabled()Description copied from interface:Log
Returns if theLog.WARN
log level is enabled.- Specified by:
isWarnEnabled
in interfaceLog
-
isErrorEnabled
public boolean isErrorEnabled()Description copied from interface:Log
Returns if theLog.ERROR
log level is enabled.- Specified by:
isErrorEnabled
in interfaceLog
-
isFatalEnabled
public boolean isFatalEnabled()Description copied from interface:Log
Returns if theLog.FATAL
log level is enabled.- Specified by:
isFatalEnabled
in interfaceLog
-
trace
Description copied from interface:Log
Write out a log message at theLog.TRACE
level with the stringification ofo
as the body of the message. -
trace
Description copied from interface:Log
Write out a log message at theLog.TRACE
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
info
Description copied from interface:Log
Write out a log message at theLog.INFO
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
info
Description copied from interface:Log
Write out a log message at theLog.INFO
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
warn
Description copied from interface:Log
Write out a log message at theLog.WARN
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
warn
Description copied from interface:Log
Write out a log message at theLog.WARN
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
error
Description copied from interface:Log
Write out a log message at theLog.ERROR
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
error
Description copied from interface:Log
Write out a log message at theLog.ERROR
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
fatal
Description copied from interface:Log
Write out a log message at theLog.FATAL
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
fatal
Description copied from interface:Log
Write out a log message at theLog.FATAL
level with the stringification ofo
as the body of the message, also outputtingt
to the log.
-