MediaWiki master
ProfilerOutputStats Class Reference

Flush profiling data to StatsD. More...

Inherits ProfilerOutput.

Collaboration diagram for ProfilerOutputStats:

Public Member Functions

 log (array $stats)
 Flush profiling data to the current profiling context's stats buffer.
 
- Public Member Functions inherited from ProfilerOutput
 __construct (Profiler $collector, array $params)
 
 canUse ()
 Can this output type be used?
 
 logsToOutput ()
 May the log() try to write to standard output?
 

Additional Inherited Members

- Protected Attributes inherited from ProfilerOutput
Profiler $collector
 
LoggerInterface $logger
 
array $params
 Configuration of $wgProfiler.
 

Detailed Description

Flush profiling data to StatsD.

Since
1.25

Definition at line 28 of file ProfilerOutputStats.php.

Member Function Documentation

◆ log()

ProfilerOutputStats::log ( array $stats)

Flush profiling data to the current profiling context's stats buffer.

Parameters
array[]$stats

Reimplemented from ProfilerOutput.

Definition at line 35 of file ProfilerOutputStats.php.


The documentation for this class was generated from the following file: