Comment enregistrer correctement un travail Laravel
'job' => [
'driver' => 'single',
'path' => storage_path('logs/job.log'),
'level' => 'info',
],
Then use it anywhere with
Log::channel('job')->info($content);
//or
Log::channel('job')->error($content);
SAMER SAEID