MediaWiki REL1_39
|
Base class for profiling output. More...
Public Member Functions | |
__construct (Profiler $collector, array $params) | |
canUse () | |
Can this output type be used? | |
log (array $stats) | |
Log MediaWiki-style profiling data. | |
logsToOutput () | |
May the log() try to write to standard output? | |
Protected Attributes | |
Profiler | $collector |
LoggerInterface | $logger |
array | $params |
Configuration of $wgProfiler. | |
ProfilerOutput::__construct | ( | Profiler | $collector, |
array | $params ) |
Profiler | $collector | The actual profiler |
array | $params | Configuration array, passed down from $wgProfiler |
Reimplemented in ProfilerOutputText.
Definition at line 42 of file ProfilerOutput.php.
References $collector, and $params.
ProfilerOutput::canUse | ( | ) |
Can this output type be used?
Reimplemented in ProfilerOutputDump.
Definition at line 52 of file ProfilerOutput.php.
|
abstract |
Log MediaWiki-style profiling data.
For classes that enable logsToOutput(), this must not be called unless Profiler::setAllowOutput is enabled.
array | $stats | Result of Profiler::getFunctionStats() |
Reimplemented in ProfilerOutputDump, ProfilerOutputStats, and ProfilerOutputText.
ProfilerOutput::logsToOutput | ( | ) |
May the log() try to write to standard output?
Reimplemented in ProfilerOutputText.
Definition at line 61 of file ProfilerOutput.php.
|
protected |
Definition at line 32 of file ProfilerOutput.php.
Referenced by __construct(), and ProfilerOutputText\__construct().
|
protected |
Definition at line 34 of file ProfilerOutput.php.
|
protected |
Configuration of $wgProfiler.
Definition at line 36 of file ProfilerOutput.php.
Referenced by __construct(), and ProfilerOutputText\__construct().