1use Illuminate\Support\Facades\Log;
2
3Log::emergency($message);
4Log::alert($message);
5Log::critical($message);
6Log::error($message);
7Log::warning($message);
8Log::notice($message);
9Log::info($message);
10Log::debug($message);
1// The output can be found in storage/logs/"date".log
2
3\Illuminate\Support\Facades\Log::debug("");
1use Log;
2
3Log::emergency($message);
4Log::alert($message);
5Log::critical($message);
6Log::error($message);
7Log::warning($message);
8Log::notice($message);
9Log::info($message);
10Log::debug($message);
1use Illuminate\Support\Facades\Log;
2
3// Severity levels base on RFC5424 commented on the right side
4Log::emergency($message); // system is unusable
5Log::alert($message); // action must be taken immediately
6Log::critical($message); // critical conditions
7Log::error($message); // error conditions
8Log::warning($message); // warning conditions
9Log::notice($message); // normal but significant condition
10Log::info($message); // informational messages
11Log::debug($message); // debug-level messages
12
13// Checkout RFC5424 here - https://tools.ietf.org/html/rfc5424
1Log::info('This is some useful information.');
2
3Log::warning('Something could be going wrong.');
4
5Log::error('Something is really going wrong.');