Topic on Manual talk:How to debug/Archive 2

Please explain wfDebugLog in more detail

2
Otheus (talkcontribs)

1. Please explain how wfDebugLog actually works. What happens if no debug-group array is defined? What happens if it is defined but the particular group is not? For instance, if wfDebugLog("test","string") and "test" is not an element in in the groups variable, what happens?

2. How can we overwrite the string-emit function so that the debug lines contain useful information, such as session-id or sever-unique-id or process-id, and date-time stamp?

3. In the "LegacyLogger" factory definition, there is reference to PSR-3 logging, and that wfDebug is considered 'legacy'. Where is this non-legacy logging feature documented?

BDavis (WMF) (talkcontribs)
Reply to "Please explain wfDebugLog in more detail"