mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 21:29:24 +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):
|
def callCommand(self, method, irc, msg, *L):
|
||||||
name = method.im_func.func_name
|
name = method.im_func.func_name
|
||||||
assert L, 'Odd, nothing in L. This can\'t happen.'
|
assert L, 'Odd, nothing in L. This can\'t happen.'
|
||||||
self.log.info('Command %s called with args %s by %s',
|
self.log.info('%r called by %s', name, msg.prefix)
|
||||||
name, L[0], msg.prefix)
|
self.log.debug('args: %s', L[0])
|
||||||
start = time.time()
|
start = time.time()
|
||||||
method(irc, msg, *L)
|
method(irc, msg, *L)
|
||||||
elapsed = time.time() - start
|
elapsed = time.time() - start
|
||||||
|
Loading…
Reference in New Issue
Block a user