summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-10-13 15:42:44 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-10-13 15:42:44 +0200
commitefdd172e823cfc59d33c7acf30510cf05c2791fb (patch)
treeb977a715a9562e2288bf933921c28c20c94df347 /module/plugins/Plugin.py
parentimprovement for hook plugins, new internal plugin type (diff)
downloadpyload-efdd172e823cfc59d33c7acf30510cf05c2791fb.tar.xz
fixes syntax error on old python versions
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 9417a4bfd..7c9e7c15c 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -81,17 +81,17 @@ class Base(object):
self.config = core.config
#log functions
- def logInfo(self, msg):
- self.log.info("%s: %s" % (self.__name__, msg))
+ def logInfo(self, *args):
+ self.log.info("%s: %s" % (self.__name__, " | ".join(args)))
- def logWarning(self, msg):
- self.log.warning("%s: %s" % (self.__name__, msg))
+ def logWarning(self, *args):
+ self.log.warning("%s: %s" % (self.__name__, " | ".join(args)))
- def logError(self, msg):
- self.log.error("%s: %s" % (self.__name__, msg))
+ def logError(self, *args):
+ self.log.error("%s: %s" % (self.__name__, " | ".join(args)))
- def logDebug(self, msg):
- self.log.debug("%s: %s" % (self.__name__, msg))
+ def logDebug(self, *args):
+ self.log.debug("%s: %s" % (self.__name__, "| ".join(args)))
def setConf(self, option, value):