mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix typos in a docstring (refs: #4901)
This commit is contained in:
parent
0a0803fd45
commit
acb7edcae8
@ -62,13 +62,13 @@ def getLogger(name):
|
||||
# type: (str) -> SphinxLoggerAdapter
|
||||
"""Get logger wrapped by :class:`sphinx.util.logging.SphinxLoggerAdapter`.
|
||||
|
||||
Sphinx logger always uses ``sphinx.*`` namesapce to be independent from
|
||||
settings of root logger. It ensure logging is consistent even if a
|
||||
Sphinx logger always uses ``sphinx.*`` namespace to be independent from
|
||||
settings of root logger. It ensures logging is consistent even if a
|
||||
third-party extension or imported application resets logger settings.
|
||||
|
||||
Example usage::
|
||||
|
||||
>>> from sphinx.utils import logging
|
||||
>>> from sphinx.util import logging
|
||||
>>> logger = logging.getLogger(__name__)
|
||||
>>> logger.info('Hello, this is an extension!')
|
||||
Hello, this is an extension!
|
||||
|
Loading…
Reference in New Issue
Block a user