wuyuxifeng / aliyun-log
阿里云日志服务的php-sdk
1.0.0
2019-04-24 06:45 UTC
Requires
- php: >=5.2.1
This package is not auto-updated.
Last update: 2024-09-20 07:23:37 UTC
README
## 阿里云日志服务 PHP SDK
API 版本
0.6.1
SDK 发布时间
2018-02-18
简介
Log Service SDK for PHP,用于将日志数据设置/获取到阿里云日志服务(www.aliyun.com/product/sls)。
安装
php composer.phar require --prefer-dist wuyuxifeng/aliyun-log
摘要
- 请求-请求风格的 Restful API 接口
- 使用 Protocol buffer 发送数据
- 发送到服务器时可以压缩数据
- 如果发生任何错误,将抛出 Aliyun_Log_Exception
- 引入简单的 logger,方便以不同级别提交日志
- 创建本地日志缓存,以单次 HTTP POST 提交多个日志
环境需求
- PHP 7.1.7 及以上:Master 分支
- PHP 5.2+:Tree v1.0