csbot.plugins.logger module¶
-
class
csbot.plugins.logger.Logger(bot)[source]¶ Bases:
csbot.plugin.Plugin-
raw_log= <Logger csbot.raw_log (WARNING)>¶
-
pretty_log= <Logger csbot.pretty_log (WARNING)>¶
-
command(event)[source]¶ Tag a command to be registered by
setup().Additional keyword arguments are added to a metadata dictionary that gets stored with the command. This is a good place to put, for example, the help string for the command:
@Plugin.command('foo', help='foo: does something amazing') def foo_command(self, e): pass
-