mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +01:00
Slight change to logging output.
This commit is contained in:
parent
fb9a19ca17
commit
41f07048c1
@ -875,8 +875,8 @@ class Privmsg(irclib.IrcCallback):
|
||||
def callCommand(self, method, irc, msg, *L):
|
||||
name = method.im_func.func_name
|
||||
assert L, 'Odd, nothing in L. This can\'t happen.'
|
||||
self.log.info('Command %s called with args %s by %s',
|
||||
name, L[0], msg.prefix)
|
||||
self.log.info('%r called by %s', name, msg.prefix)
|
||||
self.log.debug('args: %s', L[0])
|
||||
start = time.time()
|
||||
method(irc, msg, *L)
|
||||
elapsed = time.time() - start
|
||||
|
Loading…
Reference in New Issue
Block a user