public interface MessageLogger
| Modifier and Type | Method and Description | 
|---|---|
| MessageBuilder | getMessageBuilder()Gets the message builder used to build the messages. | 
| void | log(char level,
   String category,
   int id)Logs a message. | 
| void | log(char level,
   String category,
   int id,
   Object... arguments)Logs a message with arguments. | 
| void | log(char level,
   String category,
   int id,
   Throwable t)Logs a message with a throwable. | 
| void | log(char level,
   String category,
   int id,
   Throwable t,
   Object... arguments)Logs a message with a throwable and arguments. | 
| void | setMessageBuilder(MessageBuilder builder)Sets the message builder used to build the messages. | 
MessageBuilder getMessageBuilder()
void log(char level,
         String category,
         int id)
level - the level of the message.category - the category of the message.id - the ID of the message.NullPointerException - if the given category is null.MessageBuilder.buildMessage(char, String, int)void log(char level,
         String category,
         int id,
         Object... arguments)
level - the level of the message.category - the category of the message.id - the ID of the message.arguments - the arguments.NullPointerException - if the given category is null.MessageBuilder.buildMessage(char, String, int, Object...)void log(char level,
         String category,
         int id,
         Throwable t)
level - the level of the message.category - the category of the message.id - the ID of the message.t - the throwable.NullPointerException - if the given category is null.MessageBuilder.buildMessage(char, String, int, Throwable)void log(char level,
         String category,
         int id,
         Throwable t,
         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.NullPointerException - if the given category is null.MessageBuilder.buildMessage(char, String, int, Throwable, Object...)void setMessageBuilder(MessageBuilder builder)
builder - the message builder to set, cannot be null.