valhallasw created this task. valhallasw added a subscriber: valhallasw. valhallasw added a project: pywikibot-core.
TASK DESCRIPTION `bot.debug` has a different interface from all other logging functions: ``` def debug(text, layer, decoder=None, newline=True, **kwargs): ```
versus
``` def error(text, decoder=None, newline=True, **kwargs): ```
We should deprecate `layer`, for `_logger`, passed as kwarg (in debug) or the other way around (for all other functions).
TASK DETAIL https://phabricator.wikimedia.org/T85620
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw Cc: Aklapper, valhallasw, jayvdb, pywikipedia-bugs
valhallasw triaged this task as "Low" priority.
TASK DETAIL https://phabricator.wikimedia.org/T85620
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw Cc: valhallasw, Aklapper, jayvdb, pywikipedia-bugs
jayvdb added a subscriber: jayvdb. jayvdb added a comment.
ha! I actually had included exactly this (deprecating 'layer') in my warnings patch, but didnt submit it for https://gerrit.wikimedia.org/r/#/c/187106/ , and partly because I suspected that adding layer to all of them would be a better approach.
TASK DETAIL https://phabricator.wikimedia.org/T85620
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: jayvdb, valhallasw, Aklapper, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org