Package org.apache.openjpa.lib.log
Class NoneLogFactory.NoneLog
java.lang.Object
org.apache.openjpa.lib.log.NoneLogFactory.NoneLog
- All Implemented Interfaces:
Log
- Enclosing class:
- NoneLogFactory
No-op log.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal 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.final 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.final 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.final 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.static NoneLogFactory.NoneLog
final 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.final 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.final boolean
Returns if theLog.ERROR
log level is enabled.final boolean
Returns if theLog.FATAL
log level is enabled.final boolean
Returns if theLog.INFO
log level is enabled.final boolean
Returns if theLog.TRACE
log level is enabled.final boolean
Returns if theLog.WARN
log level is enabled.final void
Write out a log message at theLog.TRACE
level with the stringification ofo
as the body of the message.final 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.final 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.final 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.
-
Constructor Details
-
NoneLog
public NoneLog()
-
-
Method Details
-
getInstance
-
isErrorEnabled
public final boolean isErrorEnabled()Description copied from interface:Log
Returns if theLog.ERROR
log level is enabled.- Specified by:
isErrorEnabled
in interfaceLog
-
isFatalEnabled
public final boolean isFatalEnabled()Description copied from interface:Log
Returns if theLog.FATAL
log level is enabled.- Specified by:
isFatalEnabled
in interfaceLog
-
isInfoEnabled
public final boolean isInfoEnabled()Description copied from interface:Log
Returns if theLog.INFO
log level is enabled.- Specified by:
isInfoEnabled
in interfaceLog
-
isTraceEnabled
public final boolean isTraceEnabled()Description copied from interface:Log
Returns if theLog.TRACE
log level is enabled.- Specified by:
isTraceEnabled
in interfaceLog
-
isWarnEnabled
public final boolean isWarnEnabled()Description copied from interface:Log
Returns if theLog.WARN
log level is enabled.- Specified by:
isWarnEnabled
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.
-