mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
merge heads
This commit is contained in:
commit
77ec32655e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue