public interface MultiformatMessage extends Message
Modifier and Type | Method and Description |
---|---|
String[] |
getFormats()
Returns the supported formats.
|
String |
getFormattedMessage(String[] formats)
Returns the Message formatted as a String.
|
getFormat, getFormattedMessage, getParameters, getThrowable
String getFormattedMessage(String[] formats)
formats
- An array of Strings that provide extra information about how to format the message.
Each MultiformatMessage implementation is free to use the provided formats however they choose.String[] getFormats()
Copyright © 1999-2017. 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.