public static class NoneLogFactory.NoneLog extends Object implements Log
| Constructor and Description |
|---|
NoneLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(Object o)
Write out a log message at the
Log.ERROR
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
error(Object o,
Throwable t)
Write out a log message at the
Log.ERROR
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
fatal(Object o)
Write out a log message at the
Log.FATAL
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
fatal(Object o,
Throwable t)
Write out a log message at the
Log.FATAL
level with the stringification of o as the body
of the message, also outputting t to the log. |
static NoneLogFactory.NoneLog |
getInstance() |
void |
info(Object o)
Write out a log message at the
Log.INFO
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
info(Object o,
Throwable t)
Write out a log message at the
Log.INFO
level with the stringification of o as the body
of the message, also outputting t to the log. |
boolean |
isErrorEnabled()
Returns if the
Log.ERROR log level is enabled. |
boolean |
isFatalEnabled()
Returns if the
Log.FATAL log level is enabled. |
boolean |
isInfoEnabled()
Returns if the
Log.INFO log level is enabled. |
boolean |
isTraceEnabled()
Returns if the
Log.TRACE log level is enabled. |
boolean |
isWarnEnabled()
Returns if the
Log.WARN log level is enabled. |
void |
trace(Object o)
Write out a log message at the
Log.TRACE
level with the stringification of o as the body
of the message. |
void |
trace(Object o,
Throwable t)
Write out a log message at the
Log.TRACE
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
warn(Object o)
Write out a log message at the
Log.WARN
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
warn(Object o,
Throwable t)
Write out a log message at the
Log.WARN
level with the stringification of o as the body
of the message, also outputting t to the log. |
public static NoneLogFactory.NoneLog getInstance()
public final boolean isErrorEnabled()
LogLog.ERROR log level is enabled.isErrorEnabled in interface Logpublic final boolean isFatalEnabled()
LogLog.FATAL log level is enabled.isFatalEnabled in interface Logpublic final boolean isInfoEnabled()
LogLog.INFO log level is enabled.isInfoEnabled in interface Logpublic final boolean isTraceEnabled()
LogLog.TRACE log level is enabled.isTraceEnabled in interface Logpublic final boolean isWarnEnabled()
LogLog.WARN log level is enabled.isWarnEnabled in interface Logpublic final void trace(Object o)
LogLog.TRACE
level with the stringification of o as the body
of the message.public final void trace(Object o, Throwable t)
LogLog.TRACE
level with the stringification of o as the body
of the message, also outputting t to the log.public final void info(Object o)
LogLog.INFO
level with the stringification of o as the body
of the message, also outputting t to the log.public final void info(Object o, Throwable t)
LogLog.INFO
level with the stringification of o as the body
of the message, also outputting t to the log.public final void warn(Object o)
LogLog.WARN
level with the stringification of o as the body
of the message, also outputting t to the log.public final void warn(Object o, Throwable t)
LogLog.WARN
level with the stringification of o as the body
of the message, also outputting t to the log.public final void error(Object o)
LogLog.ERROR
level with the stringification of o as the body
of the message, also outputting t to the log.public final void error(Object o, Throwable t)
LogLog.ERROR
level with the stringification of o as the body
of the message, also outputting t to the log.public final void fatal(Object o)
LogLog.FATAL
level with the stringification of o as the body
of the message, also outputting t to the log.Copyright © 2006–2022 Apache Software Foundation. All rights reserved.