dallyger/laravel-ansi-logger
最新稳定版本:v0.1.0
Composer 安装命令:
composer require dallyger/laravel-ansi-logger
包简介
Visual overview at a glance for Laravel logs in interactive shells.
README 文档
README
Quickly understand the severity of some logged actions without having to read everything line by line.
Installation
Install this package via composer into your application and configure for the
stderr log channel by tapping it as described at customizing
monolog:
composer require dallyger/laravel-ansi-logger
// config/logging.php
'stderr' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
+ 'tap' => [\Dallyger\AnsiLogger\CustomizeChannel::class],
'formatter' => env('LOG_STDERR_FORMATTER'),
// ...
],
Make sure to actually use the stderr logger by either updating your default
channel, adding it to the stack channel or setting the LOG_CHANNEL
environment variable.
Source Code
The project is licensed under MIT and the source code is available at:
统计信息
- 总下载量: 1.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-16