public function tree($trans = false)
    {
        $tree = [];

        foreach ($this->items as $date => $log) {
            /* @var \Orchid\Log\Entities\Log $log */
            $tree[$date] = $log->tree($trans);
        }

        return $tree;
    }