jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/947356 )
Change subject: [doc] Fix logging documentation ......................................................................
[doc] Fix logging documentation
Change-Id: Ia8e5ae17a3fe1f799ee686c4774b46250f37e39f --- M pywikibot/logging.py 1 file changed, 17 insertions(+), 8 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/logging.py b/pywikibot/logging.py index 9dafa11..f87bf92 100644 --- a/pywikibot/logging.py +++ b/pywikibot/logging.py @@ -20,7 +20,7 @@ argument, which is a string indicating the debugging layer. """ # -# (C) Pywikibot team, 2010-2022 +# (C) Pywikibot team, 2010-2023 # # Distributed under the terms of the MIT license. # @@ -175,7 +175,7 @@ are interpreted as for :func:`logoutput`.
.. versionchanged:: 7.2 - was renamed to :func:`info`; `text`was renamed to `msg`; `msg` + was renamed to :func:`info`; `text` was renamed to `msg`; `msg` paramerer may be omitted; only keyword arguments are allowed except for `msg`. .. seealso:: @@ -196,7 +196,7 @@ The arguments are interpreted as for :func:`logoutput`.
.. versionchanged:: 7.2 - `text`was renamed to `msg`; `msg` parameter may be omitted; + `text` was renamed to `msg`; `msg` parameter may be omitted; only keyword arguments are allowed except for `msg`. .. seealso:: - :python:`Logger.log()<library/logging.html#logging.Logger.log>` @@ -214,7 +214,7 @@ The arguments are interpreted as for :func:`logoutput`.
.. versionchanged:: 7.2 - `text`was renamed to `msg`; only keyword arguments are allowed + `text` was renamed to `msg`; only keyword arguments are allowed except for `msg`. .. seealso:: :python:`Logger.warning()<library/logging.html#logging.Logger.warning>` @@ -231,7 +231,7 @@ The arguments are interpreted as for :func:`logoutput`.
.. versionchanged:: 7.2 - `text`was renamed to `msg`; only keyword arguments are allowed + `text` was renamed to `msg`; only keyword arguments are allowed except for `msg`. .. seealso:: :python:`Logger.error()<library/logging.html#logging.Logger.error>` @@ -247,7 +247,7 @@ The arguments are interpreted as for :func:`logoutput`.
.. versionchanged:: 7.2 - `text`was renamed to `msg`; only keyword arguments are allowed + `text` was renamed to `msg`; only keyword arguments are allowed except for `msg`. .. seealso:: :python:`Logger.log()<library/logging.html#logging.Logger.log>` @@ -264,7 +264,7 @@ The arguments are interpreted as for :func:`logoutput`.
.. versionchanged:: 7.2 - `text`was renamed to `msg`; only keyword arguments are allowed + `text` was renamed to `msg`; only keyword arguments are allowed except for `msg`. .. seealso:: :python:`Logger.critical() @@ -281,7 +281,7 @@ The arguments are interpreted as for :func:`logoutput`.
.. versionchanged:: 7.2 - `layer` parameter is optional; `text`was renamed to `msg`; + `layer` parameter is optional; `text` was renamed to `msg`; only keyword arguments are allowed except for `msg`. .. seealso:: :python:`Logger.debug()<library/logging.html#logging.Logger.debug>`
pywikibot-commits@lists.wikimedia.org