use IlluminateSupportFacadesLog;
Log::emergency($message);
Log::alert($message);
Log::critical($message);
Log::error($message);
Log::warning($message);
Log::notice($message);
Log::info($message);
Log::debug($message);
use IlluminateSupportFacadesLog;
Log::info($message);
Log::info('Message=> ', $message);
// The output can be found in storage/logs/"date".log
IlluminateSupportFacadesLog::debug("");
use IlluminateSupportFacadesLog;
Log::build([
'driver' => 'single',
'path' => storage_path('logs/custom.log'),
])->info('Something happened!');
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);
use IlluminateSupportFacadesLog;
Log::emergency($message);
Log::alert($message);
Log::critical($message);
Log::error($message);
Log::warning($message);
Log::notice($message);
Log::info($message);
Log::debug($message);
use IlluminateSupportFacadesLog;
Log::channel('slack')->info('Something happened!');
Log :: emergency();
Log :: alert();
Log :: critical();
Log :: error();
Log :: warning();
Log :: notice();
Log :: info();
Log :: debug();