That last commit wouldn't be much fun without this one.

This commit is contained in:
Jeremy Fincher 2004-10-03 09:40:19 +00:00
parent 42f9ea9bfc
commit 835ee14640
1 changed files with 4 additions and 0 deletions

View File

@ -283,6 +283,10 @@ error = _logger.error
critical = _logger.critical
exception = _logger.exception
# These were just begging to be replaced.
registry.error = error
registry.exception = exception
def stat(*args):
level = conf.supybot.log.statistics()
_logger.log(level, *args)