public function extractMessages(array $log = null)
    {
        if (true === empty($log)) {
            return array();
        }

        $this->extractor->setMessageGroups($this->config['message_groups']);

        return $this->extractor->setLog($log)
            ->extract();
    }
public function extractMessages(array $log = null)
    {
        if (true === empty($log)) {
            return array();
        }

        $this->extractor->setMessageGroups($this->config['message_groups']);

        return $this->extractor->setLog($log)
            ->extract();
    }
public function extractMessages ( array $ log = null ) { if ( true === empty ( $ log ) ) { return array ( ) ; } $ this -> extractor -> setMessageGroups ( $ this -> config [ 'message_groups' ] ) ; return $ this -> extractor -> setLog ( $ log ) -> extract ( ) ; }
Returns messages extracted from the log.

@param array $log
@return array
Returns messages extracted from the log .