Answer the question
In order to leave comments, you need to log in
How to output logs to a new file?
protected function schedule(Schedule $schedule)
{
$schedule->call(function () {
// Report to file
\Storage::prepend('file.log', 'Prepended Textttttttttttt');
})
->everyMinute();
}
Answer the question
In order to leave comments, you need to log in
https://laravel.com/docs/5.4/errors#logging
And read about the configuration at the top
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question