public interface MessageFormat
| Modifier and Type | Interface and Description |
|---|---|
static class |
MessageFormat.MessageArgs |
static class |
MessageFormat.Result
A formatted message with an optional throwable.
|
| Modifier and Type | Field and Description |
|---|---|
static MessageFormat |
CURLY_BRACKETS |
static MessageFormat |
STRING_FORMAT |
| Modifier and Type | Method and Description |
|---|---|
MessageFormat.Result |
format(java.lang.String message,
java.lang.Object... args)
Format a message with argument placeholders.
|
static MessageFormat.MessageArgs |
split(java.lang.Object[] args)
Split logging arguments into message arguments and throwable.
|
static final MessageFormat CURLY_BRACKETS
static final MessageFormat STRING_FORMAT
static MessageFormat.MessageArgs split(java.lang.Object[] args)
args - The logging argumentsMessageFormat.Result format(java.lang.String message, java.lang.Object... args)
message - The message to formatargs - The arguments for the message