comphp/logging
Composer 安装命令:
composer require comphp/logging
包简介
Configurable PSR-3 logging setup and runtime logging integrations for PHP applications.
README 文档
README
CommonPHP Logging provides configurable PSR-3 logging setup for CommonPHP applications. It defines logging drivers, targets, formatting, severity routing, and integrations with established logging libraries.
The package builds on runtime’s basic logger support and provides the more advanced logging behavior that does not belong in the runtime package itself.
Requirements
- PHP
^8.5 comphp/runtime:^0.3psr/log:^3.0
Installation
Once this package is available through your Composer repositories, install it with:
composer require comphp/logging
Usage
<?php // TODO: Write usage
Package Notes
This package should provide configurable logging setup, logger drivers, targets, formatters, processors, severity routing, and runtime integration. Runtime itself only exposes PSR-3 logging and a NullLogger fallback.
Error Handling
Invalid logging targets, formatter failures, unwritable log files, and driver failures should throw CommonPHP logging exceptions.
Documentation
License
MIT. See LICENSE.md.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-15