src/Graviton/LogBundle/Monolog/Processor/RequestIdProcessor.php
public function processRecord(array $record)
    {
        if (is_null($this->requestId)) {
            $this->requestId = uniqid('');
        }

        $record['extra']['requestId'] = $this->requestId;

        return $record;
    }
public function processRecord(array $record)
    {
        if (is_null($this->requestId)) {
            $this->requestId = uniqid('');
        }

        $record['extra']['requestId'] = $this->requestId;

        return $record;
    }
public function processRecord ( array $ record ) { if ( is_null ( $ this -> requestId ) ) { $ this -> requestId = uniqid ( '' ) ; } $ record [ 'extra' ] [ 'requestId' ] = $ this -> requestId ; return $ record ; }
processes the record and adds a random request id

@param array $record record

@return array new record
processes the record and adds a random request id