linwanfeng/think-seaslog

SeasLog 扩展用于 thinkphp5.0

安装次数: 1

依赖者: 0

推荐者: 0

安全性: 0

星标数: 0

关注者: 0

分支: 2

类型:think-extend

v2.0.5 2020-08-24 10:16 UTC

This package is not auto-updated.

Last update: 2024-10-01 06:28:01 UTC


README

ThinkPHP 5.0 SeasLog 日志扩展

安装

composer require linwanfeng/think-seaslog

配置

将日志配置文件的type参数设置为 seaslog

目前支持的配置参数

由于目前seaslog不支持动态配置,因此其他配置请在php.ini 中配置。

注意:如果开启JSON格式记录,请务必设置default_template参数 仅记录日志内容

 seaslog.default_template = "%M"

关于SeasLog的更多使用参考php手册中的SeasLog章节