42 public function log( array $stats ) {
44 $this->logger->error(
'ProfilerOutputDump must be used with ProfilerXhprof' );
47 $data = $this->collector->getRawData();
48 $filename = sprintf(
"%s/%s.%s%s",
49 $this->params[
'outputDir'],
51 $this->collector->getProfileID(),
53 file_put_contents( $filename, serialize( $data ) );