private function record(Request $request, string $event)
    {
        $this->traces[$this->getTraceKey($request)][] = $event;
    }
private function record(Request $request, string $event)
    {
        $this->traces[$this->getTraceKey($request)][] = $event;
    }
private function record ( Request $ request , string $ event ) { $ this -> traces [ $ this -> getTraceKey ( $ request ) ] [ ] = $ event ; }
Records that an event took place.
Records that an event took place .