src/Orchid/Log/Entities/LogCollection.php
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;
    }
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;
    }
Get logs tree.

@param bool $trans

@return array