Skip to content

Commit e094544

Browse files
authored
doc: Clarify logger creation example in logging HOWTO (GH-145540)
1 parent 37e421b commit e094544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ When to use logging
2828
^^^^^^^^^^^^^^^^^^^
2929

3030
You can access logging functionality by creating a logger via ``logger =
31-
getLogger(__name__)``, and then calling the logger's :meth:`~Logger.debug`,
31+
logging.getLogger(__name__)``, and then calling the logger's :meth:`~Logger.debug`,
3232
:meth:`~Logger.info`, :meth:`~Logger.warning`, :meth:`~Logger.error` and
3333
:meth:`~Logger.critical` methods. To determine when to use logging, and to see
3434
which logger methods to use when, see the table below. It states, for each of a

0 commit comments

Comments
 (0)