anboz/custom-logger
Composer 安装命令:
composer require anboz/custom-logger
包简介
Custom logger
README 文档
README
installing
composer require anboz/custom-logger
Use
add channel to
config/logging.php
[
'channels' => [
//...
'custom-log' => [
'driver' => 'custom',
'via' => \Anboz\CustomLogger\Logging\LoggerFactory::class,
'logger_name' => 'logs',
'level' => 'debug',
'ignore_exceptions' => false,
],
//...
]
]
\Log::alert('first alert test from anboz logging');
//result
_
统计信息
- 总下载量: 117
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-03

