|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.component.logging.AbstractLogger
@Deprecated public abstract class AbstractLogger
Helper methods to help in implementation of Loggers.
| Constructor Summary | |
|---|---|
AbstractLogger()
Deprecated. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
formatMessage(java.lang.String message,
java.lang.Object... objects)
Deprecated. Formats the message like MessageFormat.format(String, Object...) but also checks for Exceptions and
catches them as logging should be robust and not interfere with normal program flow. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xwiki.component.logging.Logger |
|---|
debug, debug, debug, debug, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, warn, warn, warn, warn |
| Constructor Detail |
|---|
public AbstractLogger()
| Method Detail |
|---|
protected java.lang.String formatMessage(java.lang.String message,
java.lang.Object... objects)
MessageFormat.format(String, Object...) but also checks for Exceptions and
catches them as logging should be robust and not interfere with normal program flow. The Exception caught will be
passed to the loggers debug output.
message - message in Formatter format syntaxobjects - Objects to fill in
MessageFormat
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||