Jump to navigation Jump to search
Available from version 1.18.0 (r88843)
Removed in version 1.22.0
called when outputting a debug log line via wfDebug() or wfDebugLog()
Define function:
public static function onDebug( $text, $group ) { ... }
Attach hook: In extension.json:
	"Hooks": {
		"Debug": "MyExtensionHooks::onDebug"
Called from: File(s): GlobalFunctions.php
Interface: DebugHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:Debug extensions.