vanhoavn / vzt-laravel-log
VZT Logger module for Laravel.
Installs: 295
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/vanhoavn/vzt-laravel-log
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 ...