exolnet/laravel-log
最新稳定版本:v3.3.0
Composer 安装命令:
composer require exolnet/laravel-log
包简介
This package extends Laravel’s log package to configure a Monolog driver
README 文档
README
This package extends Laravel’s log package to configure a Monolog driver. As of Laravel 5.6, this package is not required anymore since it’s now natively supported by Laravel.
Installation
-
Require this package with composer:
composer require exolnet/laravel-log -
If you don't use package auto-discovery, add the service provider to the
providersarray inconfig/app.php:Exolnet\Log\LogServiceProvider::class -
Add your Monolog host to your
.env:LOG_MONOLOG_HOST=localhost
Usage
When this package is installed and configured, all Laravel exceptions will be forwarded to your Monolog installation.
To ensure that the setup is working properly, trigger an exception and verify that the error was received.
Testing
To run the phpUnit tests, please use:
composer test
Contributing
Please see CONTRIBUTING and CODE OF CONDUCT for details.
Security
If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.
Credits
License
This code is licensed under the MIT license. Please see the license file for more information.
统计信息
- 总下载量: 372
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-02