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