Priority P5
Bug ID 322
Assignee slf4j-dev@qos.ch
Summary Add FormattingTuple as possible parameter for log methods
Severity enhancement
Classification Unclassified
OS Windows NT
Reporter stas@jresearch.org
Hardware PC
Status NEW
Version unspecified
Component Core API
Product SLF4J

Add FormattingTuple as possible parameter for log methods. 

For example add 

Logger#error(Marker marker, FormattingTuple tuple);
and
Logger#error(FormattingTuple tuple);

It is necessary in case it coder wants to use formatted message multiple times: 

FormattingTuple tuple = MessageFormatter.format("Can't create an order: {}",
e.getLocalizedMessage(), e); //$NON-NLS-1$
LOGGER.error(tuple.getMessage(), e);
throw new IllegalStateException(tuple.getMessage());


You are receiving this mail because: