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
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidWrite out a log message at theERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theFATALlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theFATALlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theINFOlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theINFOlevel with the stringification ofoas the body of the message, also outputtingtto the log.booleanReturns if theERRORlog level is enabled.booleanReturns if theFATALlog level is enabled.booleanReturns if theINFOlog level is enabled.booleanReturns if theTRACElog level is enabled.booleanReturns if theWARNlog level is enabled.voidWrite out a log message at theTRACElevel with the stringification ofoas the body of the message.voidWrite out a log message at theTRACElevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theWARNlevel with the stringification ofoas the body of the message, also outputtingtto the log.voidWrite out a log message at theWARNlevel with the stringification ofoas the body of the message, also outputtingtto 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 theTRACElog level is enabled. -
isInfoEnabled
boolean isInfoEnabled()Returns if theINFOlog level is enabled. -
isWarnEnabled
boolean isWarnEnabled()Returns if theWARNlog level is enabled. -
isErrorEnabled
boolean isErrorEnabled()Returns if theERRORlog level is enabled. -
isFatalEnabled
boolean isFatalEnabled()Returns if theFATALlog level is enabled. -
trace
Write out a log message at theTRACElevel with the stringification ofoas the body of the message. -
trace
Write out a log message at theTRACElevel with the stringification ofoas the body of the message, also outputtingtto the log. -
info
Write out a log message at theINFOlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
info
Write out a log message at theINFOlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
warn
Write out a log message at theWARNlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
warn
Write out a log message at theWARNlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
error
Write out a log message at theERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
error
Write out a log message at theERRORlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
fatal
Write out a log message at theFATALlevel with the stringification ofoas the body of the message, also outputtingtto the log. -
fatal
Write out a log message at theFATALlevel with the stringification ofoas the body of the message, also outputtingtto the log.
-