laravel error reporting code example
Example 1: how to hide error in laravel
Go inside env file :
APP_DEBUG=true
if you didn't find it go to config/app.php :
'debug' => false,
Example 2: laravel log
use Log;
Log::emergency($message);
Log::alert($message);
Log::critical($message);
Log::error($message);
Log::warning($message);
Log::notice($message);
Log::info($message);
Log::debug($message);