vlsv/extended-laravel-logger
最新稳定版本:1.0.1
Composer 安装命令:
composer require vlsv/extended-laravel-logger
包简介
Extends the functionality of the default logger by adding the file path and line number where the logger was called to the context.
README 文档
README
Extended Laravel Logger is a library for logging in Laravel, extending the functionality of the default logger by adding the file path and line number to the context where the logger was called.
Installation
You can install the package via Composer:
composer require vlsv/extended-laravel-logger
Usage
Example of using the debug method:
use Vlsv\ExtendedLaravelLogger\Log; Log::debug('This is a debug message', ['additional' => 'context']);
The library provides methods for different logging levels: debug, info, notice, warning, error, critical, alert, emergency.
Additional Context
Each log automatically adds context, including the file path and line number.
统计信息
- 总下载量: 59
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-08