get logs from server laravel code example
Example 1: how to log object laravel logger
use Illuminate\Support\Facades\Log;
Log::info(json_encode($user);
Example 2: how to log object laravel logger
Log::info(print_r($user, true));
use Illuminate\Support\Facades\Log;
Log::info(json_encode($user);
Log::info(print_r($user, true));