Tolerance\Tracer\Tracer::trace PHP Method

trace() public method

public trace ( array $spans )
$spans array
    public function trace(array $spans);

Usage Example

Example #1
0
 /**
  * {@inheritdoc}
  */
 public function trace(array $spans)
 {
     $key = count($spans) == 1 ? $spans[0]->getName() : count($spans);
     $key = 'trace (' . $key . ')';
     $this->stopwatch->start($key);
     $this->decoratedTracer->trace($spans);
     $this->stopwatch->stop($key);
 }
All Usage Examples Of Tolerance\Tracer\Tracer::trace
Tracer