[Logging-commits] r63 - in pkg: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Feb 24 12:22:49 CET 2011


Author: mariotomo
Date: 2011-02-24 12:22:49 +0100 (Thu, 24 Feb 2011)
New Revision: 63

Modified:
   pkg/DESCRIPTION
   pkg/R/logger.R
Log:
just cleaning up


Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION	2011-02-24 07:41:10 UTC (rev 62)
+++ pkg/DESCRIPTION	2011-02-24 11:22:49 UTC (rev 63)
@@ -1,5 +1,5 @@
 Package: logging
-Version: 0.5-62
+Version: 0.5-63
 Date: 2010-06-17
 Title: a tentative logging package
 Author: Mario Frasca <mariotomo at gmail.com>

Modified: pkg/R/logger.R
===================================================================
--- pkg/R/logger.R	2011-02-24 07:41:10 UTC (rev 62)
+++ pkg/R/logger.R	2011-02-24 11:22:49 UTC (rev 63)
@@ -177,9 +177,9 @@
     fullname <- paste('logging.ROOT', name, sep='.')
 
   if(!exists(fullname, envir=logging.options)) {
-    logging.options[[fullname]] <- new.env()
-    logging.options[[fullname]][['handlers']] <- NULL
-    updateOptions.environment(logging.options[[fullname]], ...)
+    logger <- logging.options[[fullname]] <- new.env()
+    logger[['handlers']] <- NULL
+    updateOptions.environment(logger, ...)
   }
   logging.options[[fullname]]
 }



More information about the Logging-commits mailing list