Mineo has uploaded a new change for review.
https://gerrit.wikimedia.org/r/80796
Change subject: pwb.bot.debug: Document the `layer` argument
......................................................................
pwb.bot.debug: Document the `layer` argument
Change-Id: Id1efa0fa1091ccbe65507f488fba6dde3607401e
---
M pywikibot/bot.py
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/96/80796/1
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index fa7ee43..eb66ad1 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -409,7 +409,10 @@
def debug(text, layer, decoder=None, newline=True, **kwargs):
- """Output a debug record to the log file."""
+ """Output a debug record to the log file.
+
+ @param layer: The name of the logger that text will be sent to.
+ """
logoutput(text, decoder, newline, DEBUG, layer, **kwargs)
--
To view, visit https://gerrit.wikimedia.org/r/80796
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1efa0fa1091ccbe65507f488fba6dde3607401e
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mineo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits