[Logging-commits] r96 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Sep 20 10:39:31 CEST 2011


Author: mariotomo
Date: 2011-09-20 10:39:31 +0200 (Tue, 20 Sep 2011)
New Revision: 96

Modified:
   pkg/man/levels.Rd
   pkg/man/log.Rd
Log:
defining some examples.


Modified: pkg/man/levels.Rd
===================================================================
--- pkg/man/levels.Rd	2011-09-20 08:34:46 UTC (rev 95)
+++ pkg/man/levels.Rd	2011-09-20 08:39:31 UTC (rev 96)
@@ -11,3 +11,7 @@
   names and values are the same as in the python standard logging module.
 
 }
+\examples{
+loglevels['INFO']
+loglevels['DEBUG']
+}
\ No newline at end of file

Modified: pkg/man/log.Rd
===================================================================
--- pkg/man/log.Rd	2011-09-20 08:34:46 UTC (rev 95)
+++ pkg/man/log.Rd	2011-09-20 08:39:31 UTC (rev 96)
@@ -33,3 +33,9 @@
     ... values are passed to it to form the actual message.}
   \item{logger}{the name of the logger to which we pass the record}
 }
+\examples{
+logReset()
+addHandler(writeToConsole)
+loginfo('this goes to console')
+logdebug('this stays silent')
+}
\ No newline at end of file



More information about the Logging-commits mailing list