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

@ -16,7 +16,7 @@ import weakref
from . import events
from . import futures
from .log import asyncio_log
from .log import logger
# If you set _DEBUG to true, @coroutine will wrap the resulting
# generator objects in a CoroWrapper instance (defined below). That
@ -62,8 +62,8 @@ class CoroWrapper:
code = func.__code__
filename = code.co_filename
lineno = code.co_firstlineno
asyncio_log.error('Coroutine %r defined at %s:%s was never yielded from',
func.__name__, filename, lineno)
logger.error('Coroutine %r defined at %s:%s was never yielded from',
func.__name__, filename, lineno)
def coroutine(func):