Barryvdh\Debugbar\DataCollector\LogsCollector::getLogsFile PHP Méthode

getLogsFile() public méthode

Get the path to the logs file
public getLogsFile ( ) : string
Résultat 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;
    }