http://bugzilla.slf4j.org/show_bug.cgi?id=322
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: s...@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: You are the assignee for the bug.
_______________________________________________ slf4j-dev mailing list slf4j-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-dev