public interface MessageHolder
MessageHolder newMessage()
MessageHolder
MessageHolder newDebugMessage()
MessageHolder
MessageHolder newInfoMessage()
MessageHolder
MessageHolder newWarningMessage()
MessageHolder
MessageHolder newErrorMessage()
MessageHolder
MessageHolder newSevereMessage()
MessageHolder
MessageHolder append(CharSequence messagePart)
messagePart
- message part.MessageHolder
MessageHolder append(Throwable error)
error
- Throwable
MessageHolder
MessageHolder addMessage(CharSequence messagePart, Throwable error)
messagePart
- Message Part.error
- Throwable
MessageHolder
MessageHolder addMessage(CharSequence messagePart)
messagePart
- message part.MessageHolder
MessageHolder addMessage(Throwable error)
error
- Throwable
MessageHolder
MessageHolder addDebugMessage(CharSequence messagePart, Throwable error)
messagePart
- message part.error
- Throwable
MessageHolder
MessageHolder addDebugMessage(CharSequence messagePart)
messagePart
- messages part.MessageHolder
MessageHolder addDebugMessage(Throwable error)
error
- messages part.MessageHolder
MessageHolder addInfoMessage(CharSequence messagePart, Throwable error)
messagePart
- message part.error
- Throwable
MessageHolder
MessageHolder addInfoMessage(CharSequence messagePart)
messagePart
- messages part.MessageHolder
MessageHolder addInfoMessage(Throwable error)
error
- Throwable
MessageHolder
MessageHolder addWarningMessage(CharSequence messagePart, Throwable error)
messagePart
- message part.error
- Throwable
MessageHolder
MessageHolder addWarningMessage(CharSequence messagePart)
messagePart
- message part.MessageHolder
MessageHolder addWarningMessage(Throwable error)
error
- Throwable
MessageHolder
MessageHolder addErrorMessage(CharSequence messagePart, Throwable error)
messagePart
- message part.error
- Throwable
MessageHolder
MessageHolder addErrorMessage(CharSequence messagePart)
messagePart
- message part.MessageHolder
MessageHolder addErrorMessage(Throwable error)
error
- Throwable
MessageHolder
MessageHolder addSevereMessage(CharSequence messagePart, Throwable error)
messagePart
- message part.error
- Throwable
MessageHolder
MessageHolder addSevereMessage(CharSequence messagePart)
messagePart
- message part.MessageHolder
MessageHolder addSevereMessage(Throwable error)
error
- The error.MessageHolder
int size()
int countMessages()
int countDebugMessages()
int countInfoMessages()
int countWarningMessages()
int countErrorMessages()
int countSevereMessages()
boolean isDebugEnabled()
void setDebugEnabled(boolean enabled)
enabled
- enable debugboolean isInfoEnabled()
void setInfoEnabled(boolean enabled)
enabled
- true info enable false otherwise.boolean isWarningEnabled()
void setWarningEnabled(boolean enabled)
enabled
- enable warning or disable.boolean isErrorEnabled()
void setErrorEnabled(boolean enabled)
enabled
- enable error or disable.boolean isSevereEnabled()
void setSevereEnabled(boolean enabled)
enabled
- enable server or disable.boolean isEmpty()
String render()
void render(MessageSink sink)
sink
- MessageSink
void flush()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.