PHPackages                             comphp/logging - 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. comphp/logging

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

comphp/logging
==============

A minimal, PSR-3 compliant logging library designed for flexibility and simplicity.

v0.1(1y ago)032MITPHPPHP ^8.4

Since Mar 15Pushed 1y agoCompare

[ Source](https://github.com/commonphp/logging)[ Packagist](https://packagist.org/packages/comphp/logging)[ RSS](/packages/comphp-logging/feed)WikiDiscussions master Synced 1mo ago

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

Lean Logging Library
====================

[](#lean-logging-library)

A minimal, PSR-3 compliant logging library designed for flexibility and simplicity. It supports multiple log outputs, custom logger configurations, and log level filtering—keeping things as lean as your favorite retro toolkit.

Features
--------

[](#features)

- **PSR-3 Compliant:** Implements the standard logging interface.
- **Custom Logger Implementations:** Includes examples like `BuiltinLogger` and `NullLogger`.
- **LogManager:** Easily handle and dispatch log messages to one or more logger instances.
- **Flexible Configuration:** Configure logger behavior, including log level filtering and custom setups.
- **Multiple Outputs:** Log to multiple destinations without breaking standards.

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

[](#installation)

Install via Composer:

```
composer require comphp/logging
```

Usage
-----

[](#usage)

Create and configure logger instances, then add them to the LogManager:

```
