<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY >
<DIV>
<DIV><SPAN class=879001522-03032008><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=879001522-03032008><FONT face=Arial size=2>I'm using the Logger
api in slf4j. I like the usage of optional arguments such as</FONT></SPAN></DIV>
<DIV><SPAN class=879001522-03032008><FONT face=Arial size=2>logger.info("{} and
{} are used later on", arg1, arg2);</FONT></SPAN></DIV>
<DIV><SPAN class=879001522-03032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=879001522-03032008><FONT face=Arial size=2>However, I realized
that this is only supported when we will not log a Throwable, i.e. the api
doesn't have any methods like:</FONT></SPAN></DIV>
<DIV><SPAN class=879001522-03032008><FONT face=Arial size=2>
<DIV><SPAN class=879001522-03032008><FONT face=Arial size=2>loger.info("{} and
{} are used later on", arg1, arg2, aThrowable);</FONT></SPAN></DIV>
<DIV><SPAN class=879001522-03032008></SPAN> </DIV>
<DIV><SPAN class=879001522-03032008>Is there a certain reason for this? We can
log them separately obviously (first the message with arguments and then the
exception), but it would be nice to have this as a method in Logger interface I
think.</SPAN></DIV>
<DIV><SPAN class=879001522-03032008>Let me know your comments/feedback on
this.</SPAN></DIV>
<DIV><SPAN class=879001522-03032008>Thanks.</SPAN></DIV></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV style="COLOR: black; FONT-FAMILY: arial"><SPAN
style="FONT-SIZE: 10pt">Celal Ziftci<BR></SPAN><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt">Morgan Stanley |
Technology<BR></SPAN><SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7.5pt">750
Seventh Avenue, 12th Floor | New York, NY 10019<BR>Phone: +1 212
762-2828<BR>Fax: +1 212 762-1012<BR><A
href="mailto:Celal.Ziftci@morganstanley.com">Celal.Ziftci@morganstanley.com</A><BR></SPAN></DIV>
<DIV> </DIV></DIV>
<DIV>
<HR>
</DIV>
<P CLASS="BulletedList" STYLE="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; mso-list: none; tab-stops: .5in"><SPAN STYLE="FONT-SIZE: 8pt; COLOR: gray; mso-bidi-font-family: Arial"><FONT FACE="Arial" COLOR="gray" SIZE="1">NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.</FONT></SPAN></P>
<DIV>
</DIV></BODY></HTML>