We have a handful of uses of wfDebug() in WikiLambda PHP. A patch review has said: "suggest using a specific logger instead of just general wfDebug, so that this gets labeled with a WikiLambda channel". (See patch.) I'm not aware of any conventions for this. If there are none, let's decide on a logging channel and other details of our logging approach and document it somewhere.
Desired behavior/Acceptance criteria
- Identify the right way to do this
- Migrate code from wfDebug to LoggerInterface
- Update https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Abstract_developer_cheatsheet#WikiLambda_starting_guide to reflect this
- WikiLambda PHP developers are informed about our logging strategy and are able to handle logging consistently.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist