PHPackages                             sugiphp/logger - 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. sugiphp/logger

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

sugiphp/logger
==============

1.1.0(1y ago)04871MITPHPPHP &gt;=5.3

Since Apr 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/SugiPHP/Logger)[ Packagist](https://packagist.org/packages/sugiphp/logger)[ RSS](/packages/sugiphp-logger/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (1)

Logger
======

[](#logger)

Logger extends Monolog\\Logger by adding the ability to log with custom error levels. Default Monolog levels are:

- 600 -&gt; EMERGENCY
- 550 -&gt; ALERT
- 500 -&gt; CRITICAL
- 400 -&gt; ERROR
- 300 -&gt; WARNING
- 250 -&gt; NOTICE
- 200 -&gt; INFO
- 100 -&gt; DEBUG

Each handler logs messages with level more than or equals to some given predefined level. With Monolog you can make a handler with minimum level of INFO. Any message with level INFO or above will be logged. A messages with level DEBUG will not be logged.

SugiPHP logger on the other hand is not limited to only those predefined log levels. It can handle arbitrary levels and can filter (log or not) any combination of them. You can use handler with a filter

```
"all -debug -system"

```

This will log any message with any level except messages with level "debug" and "system". Or you can make a filter like

```
"none +alert +special"

```

which will not log any messages except those with "alert" and "special" levels. Note that "emergency" level will not be logged since it is not included in the filter. SugiPHP logger does not have levels higher or lower than others. Each message level is treated as any other, and has no any "weight" or whatsoever.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance48

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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 ~2033 days

Total

3

Last Release

380d ago

Major Versions

1.0.0 → 2.x-dev2015-05-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/991c2430ace2ac70cb06507ae39e9e556e43bff5380e45ddd72c0f0294347794?d=identicon)[tzappa](/maintainers/tzappa)

---

Top Contributors

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

---

Tags

loglogging

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sugiphp-logger/health.svg)

```
[![Health](https://phpackages.com/badges/sugiphp-logger/health.svg)](https://phpackages.com/packages/sugiphp-logger)
```

###  Alternatives

[symfony/monolog-bundle

Symfony MonologBundle

2.9k262.9M1.8k](/packages/symfony-monolog-bundle)[inpsyde/wonolog

Monolog-based logging package for WordPress.

184637.3k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.9M79](/packages/amphp-log)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.3M](/packages/honeybadger-io-honeybadger-laravel)[logtail/monolog-logtail

Logtail handler for Monolog

243.6M3](/packages/logtail-monolog-logtail)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

62551.4k1](/packages/ytake-laravel-fluent-logger)

PHPackages © 2026

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