[Logging-commits] r39 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Apr 14 15:47:47 CEST 2010


Author: mariotomo
Date: 2010-04-14 15:47:47 +0200 (Wed, 14 Apr 2010)
New Revision: 39

Modified:
   pkg/man/logging-package.Rd
Log:
references, acknowledgements, updating pdf docs to most recent library


Modified: pkg/man/logging-package.Rd
===================================================================
--- pkg/man/logging-package.Rd	2010-04-12 15:09:52 UTC (rev 38)
+++ pkg/man/logging-package.Rd	2010-04-14 13:47:47 UTC (rev 39)
@@ -19,15 +19,16 @@
   Python's logging package, a simple logging.BasicConfig function to
   quickly put yourself in a usable situation...
 
-  This package owes a lot to Brian Lee Yung Rowe's
-  \code{\link[futile:futile-package]{futile}} package and the
+  This package owes a lot to my employer, r-forge, the stackoverflow
+  community, Brian Lee Yung Rowe's
+  \code{\link[futile:futile-package]{futile}} package (v1.1) and the
   documentation of the Python logging package.
 
 }
 \details{
 \tabular{ll}{
 Package: \tab logging\cr
-Version: \tab 0.2-9108\cr
+Version: \tab 0.4-35\cr
 Date: \tab 2010-01-14\cr
 License: \tab GPL (>=2)\cr
 Depends: \tab R (>= 2.9.2)\cr
@@ -47,10 +48,11 @@
 to use this package, include logging instructions in your code, possibly
 like this:
 \preformatted{
-  logging::basicConfig()
-  logging::addHandler(logging::writeToFile, name="company", file="sample.log")
-  logging::info("hello world", logger="")
-  logging::warn("hello company", logger="company.module")
+  library(logging)
+  basicConfig()
+  addHandler(writeToFile, logger="company", file="sample.log")
+  loginfo("hello world", logger="")
+  logwarn("hello company", logger="company.module")
 }
 
 the \code{basicConfig} function adds a console handler to the root
@@ -58,6 +60,9 @@
 handler to the 'company' logger.  the effect of the above example is two
 lines on the console and just one line in the \code{sample.log} file.
 
+the web pages for this package on r-forge are kept decently up to date
+and contain a usable tutorial.  check the references.
+
 }
 \author{
   Mario Frasca <mariotomo at gmail.com>



More information about the Logging-commits mailing list