src/Jackiedo/LogReader/LogReader.php
public function orderBy($field, $direction = 'asc')
    {
        $this->setOrderByField($field);
        $this->setOrderByDirection($direction);

        return $this;
    }
public function orderBy($field, $direction = 'asc')
    {
        $this->setOrderByField($field);
        $this->setOrderByDirection($direction);

        return $this;
    }
public function orderBy ( $ field , $ direction = 'asc' ) { $ this -> setOrderByField ( $ field ) ; $ this -> setOrderByDirection ( $ direction ) ; return $ this ; }
Sets the direction to return the log entries in.

@param  string  $field
@param  string  $direction

@return \Jackiedo\LogReader\LogReader
Sets the direction to return the log entries in .