public class MessageFormatMessage extends Object implements Message
Constructor and Description |
---|
MessageFormatMessage(String messagePattern,
Object... parameters) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
protected String |
formatMessage(String msgPattern,
Object... args) |
String |
getFormat()
Returns the message pattern.
|
String |
getFormattedMessage()
Returns the formatted message.
|
Object[] |
getParameters()
Returns the message parameters.
|
Throwable |
getThrowable()
Return the throwable passed to the Message.
|
int |
hashCode() |
String |
toString() |
public MessageFormatMessage(String messagePattern, Object... parameters)
public String getFormattedMessage()
getFormattedMessage
in interface Message
public Object[] getParameters()
getParameters
in interface Message
protected String formatMessage(String msgPattern, Object... args)
public Throwable getThrowable()
getThrowable
in interface Message
Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.