|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArgumentFormatterContainer
A container class for ArgumentFormatter
s. It will modify arguments provided by a Logger
instance
based on the ArgumentFormatter
s it contains.
Method Summary | |
---|---|
void |
add(ArgumentFormatter... formatters)
Adds the provided ArgumentFormatter s. |
String |
format(List<Object> arguments)
Applies each ArgumentFormatter to the arguments to get the corresponding String s, and then merges
all the String arguments together into one final String message. |
Method Detail |
---|
void add(ArgumentFormatter... formatters)
ArgumentFormatter
s. The formatters will be used in the order they are added. It is
recommended to add the formatters from most specific to most generic.
String format(List<Object> arguments)
ArgumentFormatter
to the arguments to get the corresponding String
s, and then merges
all the String
arguments together into one final String
message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |