matometaru
12/29/2017 - 6:17 AM

Laravel エラー、ログ出力

Log::debug('デバッグメッセージ')
$arr = array("a","b","c");
Log::debug(print_r($arr, true));

@foreach ($errors->all() as $error)
<li>{{$error}}</li>
@endforeach