<html>
    <head>
      <base href="http://bugzilla.slf4j.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Add FormattingTuple as possible parameter for log methods"
   href="http://bugzilla.slf4j.org/show_bug.cgi?id=322">322</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>slf4j-dev@qos.ch
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Add FormattingTuple as possible parameter for log methods
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stas@jresearch.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Core API
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>SLF4J
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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());</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>