public function stats()
    {
        $counters = $this->initStats();

        foreach ($this->groupBy('level') as $level => $entries) {
            $counters[$level] = $count = count($entries);
            $counters['all'] += $count;
        }

        return $counters;
    }
public function stats()
    {
        $counters = $this->initStats();

        foreach ($this->groupBy('level') as $level => $entries) {
            $counters[$level] = $count = count($entries);
            $counters['all'] += $count;
        }

        return $counters;
    }
public function stats ( ) { $ counters = $ this -> initStats ( ) ; foreach ( $ this -> groupBy ( 'level' ) as $ level => $ entries ) { $ counters [ $ level ] = $ count = count ( $ entries ) ; $ counters [ 'all' ] += $ count ; } return $ counters ; }
Get log entries stats.

@return array
Get log entries stats .