[Bug 322] New: Add FormattingTuple as possible parameter for log methods

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: 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: You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=322 Ceki Gulcu <listid@qos.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |listid@qos.ch --- Comment #1 from Ceki Gulcu <listid@qos.ch> --- I plan to enhance the slf4j api to allow construction of logging events programmatically. The resulting changes will cover this use case. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=322 Ceki Gulcu <listid@qos.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |REMIND --- Comment #2 from Ceki Gulcu <listid@qos.ch> --- Please remind me if this issue is not solved with the enhanced spi mentioned above. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@qos.ch