vanhoavn / vzt-laravel-log
VZT Logger module for Laravel.
1.5
2020-09-19 03:15 UTC
Requires
- php: ^7.0.0
README
Configurations
Add to config\logging.php
/** * Write the logs to stderr first **/ 'override_output' => env('LOG_DEBUG', false), /** * Minimum logging levels: all levels below this will be ignored **/ 'min_logging_level' => env('MIN_LOGGING_LEVEL', 'notice'),
With the above configs, you can debug loggings while running console commands by prepending LOG_DEBUG=1
.
LOG_DEBUG=1 php artisan ...