Преглед на файлове

add $this->info('schedule test start');

visuddhinanda преди 3 години
родител
ревизия
d889c4e016
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      app/Console/Commands/TestSchedule.php

+ 2 - 0
app/Console/Commands/TestSchedule.php

@@ -3,6 +3,7 @@
 namespace App\Console\Commands;
 namespace App\Console\Commands;
 
 
 use Illuminate\Console\Command;
 use Illuminate\Console\Command;
+use Illuminate\Support\Facades\Log;
 
 
 class TestSchedule extends Command
 class TestSchedule extends Command
 {
 {
@@ -38,6 +39,7 @@ class TestSchedule extends Command
     public function handle()
     public function handle()
     {
     {
         Log::info('schedule test start');
         Log::info('schedule test start');
+        $this->info('schedule test start');
         return 0;
         return 0;
     }
     }
 }
 }