pep / logger
1.0
2015-01-20 11:13 UTC
Requires
- illuminate/support: ~4.2
- monolog/monolog: ~1.12
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.4
This package is not auto-updated.
Last update: 2024-11-09 17:09:08 UTC
README
Laravel multilogger component, to make logging to different files easy.
Installation:
composer require pep/logger;
php artisan config:publish pep/logger;
Afterwards add a path to where you want your different logfiles in the package config.
Usage:
Logger::warning('{file-namespace}', '{message}', [{context}]);
The following functions are available:
::debug
::info
::warning
::error
::critical
::alert
::emergency