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);
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 Monolog\Logger;
2
3$orderLog = new Logger('order');
4$orderLog->pushHandler(new StreamHandler(storage_path('logs/mylogs.log')), Logger::INFO);
5$orderLog->info("Order id: ${orderId}");