protected function write(array $record) {

        $level = $record['level'];

        $message = $record['formatted'];

        $context = empty($record['context']) ? null : $record['context'];

        $time = $record['datetime']->format('c');

        $this->toConsole($time, $level, $message, $context);

    }
protected function write(array $record) {

        $level = $record['level'];

        $message = $record['formatted'];

        $context = empty($record['context']) ? null : $record['context'];

        $time = $record['datetime']->format('c');

        $this->toConsole($time, $level, $message, $context);

    }
protected function write ( array $ record ) { $ level = $ record [ 'level' ] ; $ message = $ record [ 'formatted' ] ; $ context = empty ( $ record [ 'context' ] ) ? null : $ record [ 'context' ] ; $ time = $ record [ 'datetime' ] -> format ( 'c' ) ; $ this -> toConsole ( $ time , $ level , $ message , $ context ) ; }
Record's writer
Record s writer