[Logging-commits] r89 - www
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Aug 3 16:13:33 CEST 2011
Author: mariotomo
Date: 2011-08-03 16:13:32 +0200 (Wed, 03 Aug 2011)
New Revision: 89
Modified:
www/the_basics.shtml
Log:
comparing the documentation with the current behaviour, adding tests, correcting differences.
Modified: www/the_basics.shtml
===================================================================
--- www/the_basics.shtml 2011-08-03 13:56:53 UTC (rev 88)
+++ www/the_basics.shtml 2011-08-03 14:13:32 UTC (rev 89)
@@ -76,13 +76,17 @@
<code>
R> <user>addHandler(writeToConsole)</user><br/>
R> <user>setLevel(30, getHandler('basic.stdout'))</user><br/>
+R> <user>logwarn('test')</user><br/>
+2011-08-03 15:59:13 WARNING::test<br/>
+2011-08-03 15:59:13 WARNING::test<br/>
R> <user>loginfo('test')</user><br/>
-R> <user>logwarn('test')</user><br/>
-2010-04-07 15:17:40 WARN::test <br/>
+2011-08-03 15:59:18 INFO::test<br/>
R> <user>with(getHandler('basic.stdout'), level)</user><br/>
WARN <br/>
- 30 <br/>
-R>
+ 30 <br/>
+R> <user>with(getHandler('writeToConsole'), level)</user><br/>
+INFO <br/>
+ 20 <br/>
</code>
<p><a href="the_basics.R">code</a></p>
More information about the Logging-commits
mailing list