mirror of https://github.com/python/cpython
merge heads
This commit is contained in:
commit
77ec32655e
|
@ -1377,7 +1377,7 @@ works::
|
||||||
A simple handler for logging events. It runs in the listener process and
|
A simple handler for logging events. It runs in the listener process and
|
||||||
dispatches events to loggers based on the name in the received record,
|
dispatches events to loggers based on the name in the received record,
|
||||||
which then get dispatched, by the logging system, to the handlers
|
which then get dispatched, by the logging system, to the handlers
|
||||||
configured for those records.
|
configured for those loggers.
|
||||||
"""
|
"""
|
||||||
def handle(self, record):
|
def handle(self, record):
|
||||||
logger = logging.getLogger(record.name)
|
logger = logging.getLogger(record.name)
|
||||||
|
|
Loading…
Reference in New Issue