public function process(Record $record)
    {

        if ($this->buffer) {
            $this->processRecord($record);
            $this->records[] = $record;

            return $this->bubble;
        }

        $this->processRecord($record);
        $this->getFormatter()->formatRecord($record);
        $this->write($record);

        return $this->bubble;
    }