public interface MessageBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildMessage(char level,
java.lang.String category,
int id)
Builds a message.
|
java.lang.String |
buildMessage(char level,
java.lang.String category,
int id,
java.lang.Object... arguments)
Builds a message with arguments.
|
java.lang.String |
buildMessage(char level,
java.lang.String category,
int id,
java.lang.Throwable t)
Builds a message with a throwable.
|
java.lang.String |
buildMessage(char level,
java.lang.String category,
int id,
java.lang.Throwable t,
java.lang.Object... arguments)
Builds a message with a throwable and arguments.
|
java.lang.String buildMessage(char level, java.lang.String category, int id)
level
- the level of the message.category
- the category of the message.id
- the ID of the message.java.lang.NullPointerException
- if the given category is null
.java.lang.String buildMessage(char level, java.lang.String category, int id, java.lang.Throwable t)
level
- the level of the message.category
- the category of the message.id
- the ID of the message.t
- the throwable.java.lang.NullPointerException
- if the given category is null
.java.lang.String buildMessage(char level, java.lang.String category, int id, java.lang.Object... arguments)
level
- the level of the message.category
- the category of the message.id
- the ID of the message.arguments
- the arguments.java.lang.NullPointerException
- if the given category is null
.java.lang.String buildMessage(char level, java.lang.String category, int id, java.lang.Throwable t, java.lang.Object... arguments)
level
- the level of the message.category
- the category of the message.id
- the ID of the message.t
- the throwable.arguments
- the arguments.java.lang.NullPointerException
- if the given category is null
.