mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Replace log.
This commit is contained in:
@@ -26,6 +26,7 @@ namespace FireflyIII\Console;
|
||||
|
||||
use Illuminate\Console\Scheduling\Schedule;
|
||||
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Override;
|
||||
|
||||
/**
|
||||
@@ -52,7 +53,7 @@ class Kernel extends ConsoleKernel
|
||||
{
|
||||
$schedule->call(
|
||||
static function (): void {
|
||||
app('log')->error(
|
||||
Log::error(
|
||||
'Firefly III no longer users the Laravel scheduler to do cron jobs! Please read the instructions at https://docs.firefly-iii.org/'
|
||||
);
|
||||
echo "\n";
|
||||
|
Reference in New Issue
Block a user