diff options
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 16 |
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): |