* add console and file logging * fix issues with starting logging, and now sends to plugins * add option to turn off logging * add more logging messages * add various logging messages * add logging messages lost in merge
8 lines
183 B
Python
8 lines
183 B
Python
import pinhook.plugin
|
|
|
|
@pinhook.plugin.register('!test')
|
|
def test(msg):
|
|
msg.logger.info('This is test log output')
|
|
return pinhook.plugin.message("{}: Test".format(msg.nick))
|
|
|