Download the PHP package liuwave/think-log-driver-sls without Composer
On this page you can find all versions of the php package liuwave/think-log-driver-sls. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download liuwave/think-log-driver-sls
More information about liuwave/think-log-driver-sls
Files in liuwave/think-log-driver-sls
Download liuwave/think-log-driver-sls
More information about liuwave/think-log-driver-sls
Files in liuwave/think-log-driver-sls
Vendor liuwave
Package think-log-driver-sls
Short Description 这是使用阿里云日志服务sls的thinkphp6.0日志驱动,支持函数计算
License MIT
Homepage https://github.com/liuwave/think-log-driver-sls
Package think-log-driver-sls
Short Description 这是使用阿里云日志服务sls的thinkphp6.0日志驱动,支持函数计算
License MIT
Homepage https://github.com/liuwave/think-log-driver-sls
Please rate this library. Is it a good library?
Informations about the package think-log-driver-sls
think-log-driver-sls
这是使用阿里云日志服务sls的thinkphp6.0日志驱动,同时支持函数计算
安装
composer require liuwave/think-log-driver-sls
使用
修改config/log.php
:
- 将
'default' => env('log.channel', 'file'),
修改成'default' => env('log.channel', 'sls'),
- 在
channels
下添加日志通道:
效果
函数计算控制台->对应函数界面->日志查询->简单查询/高级查询,可以查询到日志记录:
或者在 日志服务管理后台,打开对应的日志库,进行查询。
相关参考
All versions of think-log-driver-sls with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2.0
topthink/framework Version ^6.0.0
lokielse/aliyun-open-api-sls Version ^1.0
topthink/framework Version ^6.0.0
lokielse/aliyun-open-api-sls Version ^1.0
The package liuwave/think-log-driver-sls contains the following files
Loading the files please wait ....