[Logging-commits] r16 - www

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Apr 7 17:11:04 CEST 2010


Author: mariotomo
Date: 2010-04-07 17:11:04 +0200 (Wed, 07 Apr 2010)
New Revision: 16

Modified:
   www/sample_session.html
Log:
typos and extending.


Modified: www/sample_session.html
===================================================================
--- www/sample_session.html	2010-04-07 14:56:37 UTC (rev 15)
+++ www/sample_session.html	2010-04-07 15:11:04 UTC (rev 16)
@@ -89,10 +89,16 @@
 their name is, within the logger, unique.  also similarly than to
 directories, all loggers have one parent, except the root logger that
 has none.  the name of the logger specifies the location of the logger
-in this hierarchy.  an example will hopefully clarify:</p>
+in this hierarchy.  an example will hopefully clarify.  let's start
+from scratch, a brand new R session.</p>
 
 <pre>
+R> library(logging)
+R> addHandler(writeToConsole, logger='libro.romanzo.campanile')
 R> loginfo('chiarastella', logger='libro.romanzo.campanile')
+2010-04-07 17:08:59 INFO chiarastella 
+R> loginfo('talking to the root logger')
+R> 
 </pre>
 
 if you define a logger by this name, all record you 



More information about the Logging-commits mailing list