1 개요[ | ]
- Laravel 로깅
- 라라벨 로깅
- 라라벨 로그 기능
- Monolog 로깅 라이브러리 사용함
- 로그 파일은 storage/logs 폴더에 저장됨
- 스트링, 배열 등 전달 가능
PHP
Copy
use Log;
PHP
Copy
Log::info('This is some useful information.');
Log::warning('Something could be going wrong.');
Log::error('Something is really going wrong.');
Log::info('Log message', ['context' => 'Other helpful information']);