Package org.apache.openjpa.lib.log
Interface Log
- All Known Implementing Classes:
AbstractLog
,CommonsLogFactory.LogAdapter
,Log4J2LogFactory.LogAdapter
,Log4JLogFactory.LogAdapter
,LogFactoryImpl.LogImpl
,NoneLogFactory.NoneLog
,SLF4JLogFactory.LogAdapter
public interface Log
Logging interface that is independent of other logging frameworks.
- Author:
- Patrick Linskey, Abe White
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Write out a log message at theERROR
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theERROR
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theFATAL
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theFATAL
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theINFO
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theINFO
level with the stringification ofo
as the body of the message, also outputtingt
to the log.boolean
Returns if theERROR
log level is enabled.boolean
Returns if theFATAL
log level is enabled.boolean
Returns if theINFO
log level is enabled.boolean
Returns if theTRACE
log level is enabled.boolean
Returns if theWARN
log level is enabled.void
Write out a log message at theTRACE
level with the stringification ofo
as the body of the message.void
Write out a log message at theTRACE
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theWARN
level with the stringification ofo
as the body of the message, also outputtingt
to the log.void
Write out a log message at theWARN
level with the stringification ofo
as the body of the message, also outputtingt
to the log.
-
Field Details
-
TRACE
static final short TRACE- See Also:
-
INFO
static final short INFO- See Also:
-
WARN
static final short WARN- See Also:
-
ERROR
static final short ERROR- See Also:
-
FATAL
static final short FATAL- See Also:
-
-
Method Details
-
isTraceEnabled
boolean isTraceEnabled()Returns if theTRACE
log level is enabled. -
isInfoEnabled
boolean isInfoEnabled()Returns if theINFO
log level is enabled. -
isWarnEnabled
boolean isWarnEnabled()Returns if theWARN
log level is enabled. -
isErrorEnabled
boolean isErrorEnabled()Returns if theERROR
log level is enabled. -
isFatalEnabled
boolean isFatalEnabled()Returns if theFATAL
log level is enabled. -
trace
Write out a log message at theTRACE
level with the stringification ofo
as the body of the message. -
trace
Write out a log message at theTRACE
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
info
Write out a log message at theINFO
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
info
Write out a log message at theINFO
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
warn
Write out a log message at theWARN
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
warn
Write out a log message at theWARN
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
error
Write out a log message at theERROR
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
error
Write out a log message at theERROR
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
fatal
Write out a log message at theFATAL
level with the stringification ofo
as the body of the message, also outputtingt
to the log. -
fatal
Write out a log message at theFATAL
level with the stringification ofo
as the body of the message, also outputtingt
to the log.
-