From: kaliko Date: Fri, 14 Nov 2014 18:27:21 +0000 (+0100) Subject: Expose logger directly in Plugin X-Git-Tag: 0.1.0~50 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=1207c01eef5e37ca2772da0968cb193a3267dabe;p=sid.git Expose logger directly in Plugin --- diff --git a/sid/plugin.py b/sid/plugin.py index 671df85..15f43ab 100644 --- a/sid/plugin.py +++ b/sid/plugin.py @@ -21,6 +21,7 @@ class Plugin(object): def __init__(self, bot): self.bot = bot + self.log = bot.log def shutdown(self): pass