Rename the logger to plain "logger".

This commit is contained in:
Guido van Rossum 2013-10-17 15:39:45 -07:00
parent b795aa8547
commit fc29e0f37e
15 changed files with 61 additions and 60 deletions

View file

@ -10,7 +10,7 @@ import logging
import traceback
from . import events
from .log import asyncio_log
from .log import logger
# States for Future.
_PENDING = 'PENDING'
@ -99,8 +99,8 @@ class _TracebackLogger:
def __del__(self):
if self.tb:
asyncio_log.error('Future/Task exception was never retrieved:\n%s',
''.join(self.tb))
logger.error('Future/Task exception was never retrieved:\n%s',
''.join(self.tb))
class Future: