PHPackages                             hejunjie/error-log - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. hejunjie/error-log

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

hejunjie/error-log
==================

基于责任链模式的错误日志处理组件，支持多通道日志处理（如本地文件、远程 API、控制台输出），适用于复杂日志策略场景 | An error logging component using the Chain of Responsibility pattern. Supports multiple output channels like local files, remote APIs, and console logs—ideal for flexible and scalable logging strategies.

v1.0.3(9mo ago)1789↓33.3%1MITPHPPHP &gt;=8.1

Since Apr 12Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/zxc7563598/php-error-log)[ Packagist](https://packagist.org/packages/hejunjie/error-log)[ RSS](/packages/hejunjie-error-log/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (1)

hejunjie/error-log
==================

[](#hejunjieerror-log)

 [English](./README.md)｜[简体中文](./README.zh-CN.md)---

An error logging component using the Chain of Responsibility pattern. Supports multiple output channels like local files, remote APIs, and console logs—ideal for flexible and scalable logging strategies.

**This project has been parsed by Zread. If you need a quick overview of the project, you can click here to view it：[Understand this project](https://zread.ai/zxc7563598/php-error-log)**

Installation
------------

[](#installation)

Install via Composer:

```
composer require hejunjie/error-log
```

Usage
-----

[](#usage)

```
