Manual:Hooks/Debug
From MediaWiki.org
| Debug | |
|---|---|
| Available from version 1.18.0 (r88843) called when outputting a debug log line via wfDebug() or wfDebugLog() |
|
Define function: |
public static function onDebug( $text, $group ) { ... }
|
Attach hook: |
$wgHooks['Debug'][] = 'MyExtensionHooks::onDebug'; |
| Called from: | GlobalFunctions.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:Debug extensions.