Barryvdh\Debugbar\DataCollector\LogsCollector::getLogsFile PHP Метод

getLogsFile() публичный Метод

Get the path to the logs file
public getLogsFile ( ) : string
Результат string
    public function getLogsFile()
    {
        // default daily rotating logs (Laravel 5.0)
        $path = storage_path() . '/logs/laravel-' . date('Y-m-d') . '.log';
        // single file logs
        if (!file_exists($path)) {
            $path = storage_path() . '/logs/laravel.log';
        }
        return $path;
    }