diff options
author | Guido van Rossum <guido@dropbox.com> | 2013-10-17 22:39:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@dropbox.com> | 2013-10-17 22:39:45 (GMT) |
commit | fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc (patch) | |
tree | 9c111dea008d9eec467e63d76d59502c2f5128a3 /Lib/asyncio/base_events.py | |
parent | b795aa8547b5a615d715fedc6a6267b7e8811d94 (diff) | |
download | cpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.zip cpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.tar.gz cpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.tar.bz2 |
Rename the logger to plain "logger".
Diffstat (limited to 'Lib/asyncio/base_events.py')
-rw-r--r-- | Lib/asyncio/base_events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 32457eb..5f1bff7 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -27,7 +27,7 @@ import sys from . import events from . import futures from . import tasks -from .log import asyncio_log +from .log import logger __all__ = ['BaseEventLoop', 'Server'] @@ -580,7 +580,7 @@ class BaseEventLoop(events.AbstractEventLoop): level = logging.INFO else: level = logging.DEBUG - asyncio_log.log(level, 'poll%s took %.3f seconds', argstr, t1-t0) + logger.log(level, 'poll%s took %.3f seconds', argstr, t1-t0) self._process_events(event_list) # Handle 'later' callbacks that are ready. |