PHPackages                             shiwenyuan/xdp-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. shiwenyuan/xdp-log

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

shiwenyuan/xdp-log
==================

v1.0.1(7y ago)0491PHP

Since Aug 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/shiwenyuan/xdpLog)[ Packagist](https://packagist.org/packages/shiwenyuan/xdp-log)[ RSS](/packages/shiwenyuan-xdp-log/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

xdpLog
======

[](#xdplog)

use
---

[](#use)

```
@mkdir(__DIR__."/logs");
$num = rand(1,100);

$GLOBALS['LOG'] = [
    'log_file' => __DIR__."/logs/".$num.'.log', 设置log目录
    'log_level' => \XdpLog\MeLog::LOG_LEVEL_ALL,设置写入log级别 如果小于这个级别则不被记录
];

MeLog::debug('aaaa');
MeLog::warning('aaaa');
MeLog::fatal('aaaa');
MeLog::notice('aaaa');
MeLog::trace('aaaa');
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2860d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5dcd9a9243b3f6caaf2b88bd9268291c3752984db67ec68e1fed57f5cd07e8a2?d=identicon)[shiwenyuan](/maintainers/shiwenyuan)

---

Top Contributors

[![shiwenyuan](https://avatars.githubusercontent.com/u/29530604?v=4)](https://github.com/shiwenyuan "shiwenyuan (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shiwenyuan-xdp-log/health.svg)

```
[![Health](https://phpackages.com/badges/shiwenyuan-xdp-log/health.svg)](https://phpackages.com/packages/shiwenyuan-xdp-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M263](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M317](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
