mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Migrate addon, trigger, and widget logging functions to Debug class
This commit is contained in:
parent
0947bafa66
commit
516479cf20
7 changed files with 188 additions and 147 deletions
|
|
@ -122,12 +122,13 @@ class DisplayHandler extends Handler
|
|||
self::$response_size = $this->content_size = strlen($output);
|
||||
ModuleHandler::triggerCall('display', 'after', $output);
|
||||
|
||||
// debugOutput output
|
||||
// Output the page content and debug data.
|
||||
$debug = $this->getDebugInfo($output);
|
||||
print $output;
|
||||
print $debug;
|
||||
|
||||
flushSlowlog();
|
||||
|
||||
// Flush the slow query/trigger/widget log.
|
||||
ModuleHandler::triggerCall('common.flushDebugInfo', 'after', new stdClass);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue