Convert wfDebug and wfDebugLog calls in MediaWiki core and extensions to the use PSR-3 Logger classes.
- Map log events to appropriate severity levels
- debug: Useful for ummm.... debugging. :) These are messages that are useful for local development and are generally too "spammy" to output on a production wiki. This would typically include anything currently being logged via wfDebug.
- info: Valuable state change information. This level is a great place to record information that would be useful in a production environment when tracing the path of a request that eventually had an error. This is currently the level automatically associated with wfDebugLog calls when mapped to PSR-3.
- warning: A soft error condition such as a recoverable error or another condition that typically should not be seen but isn't halting for the operation in process.
- error: A hard error such as a caught exception with no recovery path.
- Add structured data to logging context when available and appropriate.
- __METHOD__
- Attach exceptions to messages
- Attach parameters or other interesting state to messages
- Replace faux structure such as tab separated items, label=value/label:value pairs, or json serialization