logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
Subject svn commit: r1331831 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/messages.xml
Date Sat, 28 Apr 2012 21:05:47 GMT
Author: grobmeier
Date: Sat Apr 28 21:05:47 2012
New Revision: 1331831

URL: http://svn.apache.org/viewvc?rev=1331831&view=rev
Log:
added missing quote in code example

Modified:
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/messages.xml

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/messages.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/messages.xml?rev=1331831&r1=1331830&r2=1331831&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/messages.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/messages.xml Sat Apr 28 21:05:47 2012
@@ -44,7 +44,7 @@
           way this could be accomplished is by doing:
         </p>
         <pre>
-          logger.info("User {} has logged in using id {}, map.get("Name"), user.getId());
+          logger.info("User {} has logged in using id {}", map.get("Name"), user.getId());
         </pre>
         <p>
           While there is nothing inherently wrong with this, as the complexity of the objects
and desired output



Mime
View raw message