22use Psr\Log\LoggerInterface;
45 $this->logger = LoggerFactory::getInstance(
'profiler' );
73 abstract public function log( array $stats );
Base class for profiling output.
canUse()
Can this output type be used?
array $params
Configuration of $wgProfiler.
log(array $stats)
Log MediaWiki-style profiling data.
logsToOutput()
May the log() try to write to standard output?
__construct(Profiler $collector, array $params)
Profiler base class that defines the interface and some shared functionality.