PHPackages                             d3r/monolog-cascade - 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. d3r/monolog-cascade

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

d3r/monolog-cascade
===================

Monolog extension to configure multiple loggers in the blink of an eye and access them from anywhere

1.0.2(2mo ago)267.2k↓58.7%1MITPHPPHP &gt;=8.2CI passing

Since Jun 19Pushed 2mo agoCompare

[ Source](https://github.com/D3R/monolog-cascade)[ Packagist](https://packagist.org/packages/d3r/monolog-cascade)[ Docs](https://github.com/d3r/monolog-cascade)[ RSS](/packages/d3r-monolog-cascade/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (15)Versions (22)Used By (1)

What is Monolog Cascade?
------------------------

[](#what-is-monolog-cascade)

Monolog Cascade is a [Monolog](https://github.com/Seldaek/monolog) extension that allows you to set up and configure multiple loggers and handlers from a single config file.

It's been inspired by the [`logging.config`](https://docs.python.org/3.4/library/logging.config.html?highlight=fileconfig#module-logging.config) Python module.

---

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

[](#installation)

Add `d3r/monolog-cascade` as a requirement in your `composer.json` file or run

```
$ composer require d3r/monolog-cascade
```

Note: Monolog Cascade requires PHP 8.0 or higher.

Usage
-----

[](#usage)

```
