mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 05:06:37 +00:00
Replace log.
This commit is contained in:
@@ -27,6 +27,7 @@ namespace FireflyIII\Console\Commands\Upgrade;
|
||||
use FireflyIII\Console\Commands\ShowsFriendlyMessages;
|
||||
use FireflyIII\Models\BudgetLimit;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class UpgradesBudgetLimitPeriods extends Command
|
||||
{
|
||||
@@ -84,7 +85,7 @@ class UpgradesBudgetLimitPeriods extends Command
|
||||
$limit->end_date->format('Y-m-d')
|
||||
);
|
||||
$this->friendlyWarning($message);
|
||||
app('log')->warning($message);
|
||||
Log::warning($message);
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -98,7 +99,7 @@ class UpgradesBudgetLimitPeriods extends Command
|
||||
$limit->end_date->format('Y-m-d'),
|
||||
$period
|
||||
);
|
||||
app('log')->debug($msg);
|
||||
Log::debug($msg);
|
||||
}
|
||||
|
||||
private function getLimitPeriod(BudgetLimit $limit): ?string
|
||||
|
||||
Reference in New Issue
Block a user