changeset 115:9556a63bfbda

make all snowl feeds share a logger
author Myk Melez <myk@mozilla.org>
date Sun, 01 Jun 2008 17:51:35 -0700
parents 5669c7260ce3
children cb8bbdf99268
files extension/modules/feed.js
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/extension/modules/feed.js	Sun Jun 01 17:49:12 2008 -0700
+++ b/extension/modules/feed.js	Sun Jun 01 17:51:35 2008 -0700
@@ -22,15 +22,12 @@
 function SnowlFeed(aID, aName, aMachineURI, aHumanURI, aLastRefreshed, aImportance) {
   // Call the superclass's constructor to initialize the new instance.
   SnowlSource.call(this, aID, aName, aMachineURI, aHumanURI, aLastRefreshed, aImportance);
-
-  // XXX Can't this be defined when the prototype is?
-  this._log = Log4Moz.Service.getLogger("Snowl.Feed");
 }
 
 SnowlFeed.prototype = {
   __proto__: SnowlSource.prototype,
 
-  _log: null,
+  _log: Log4Moz.Service.getLogger("Snowl.Feed"),
 
   // Observer Service
   get _obsSvc() {