collector = $collector; $this->params = $params; } /** * Can this output type be used? * @return bool */ public function canUse() { return true; } /** * Does log() just send the data to the request/script output? * @return bool * @since 1.33 */ public function logsToOutput() { return false; } /** * Log MediaWiki-style profiling data * * @param array $stats Result of Profiler::getFunctionStats() */ abstract public function log( array $stats ); }