jenkins-bot has submitted this change and it was merged.
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(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
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)
pywikibot-commits@lists.wikimedia.org