@Deprecated public abstract class AbstractLogger extends Object implements Logger
Constructor and Description |
---|
AbstractLogger()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
formatMessage(String message,
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. |
protected String formatMessage(String message, 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 inMessageFormat
Copyright © 2004–2022 XWiki. All rights reserved.