protected function write(array $record): void
    {
        if (!$this->isWebRequest()) {
            return;
        }

        self::$json['rows'][] = $record['formatted'];

        $this->send();
    }
protected function write(array $record): void
    {
        if (!$this->isWebRequest()) {
            return;
        }

        self::$json['rows'][] = $record['formatted'];

        $this->send();
    }
protected function write ( array $ record ) : void { if ( ! $ this -> isWebRequest ( ) ) { return ; } self :: $ json [ 'rows' ] [ ] = $ record [ 'formatted' ] ; $ this -> send ( ) ; }
Creates & sends header for a record

@see sendHeader()
@see send()
Creates & sends header for a record