PHPackages                             stellarwp/foundation-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. stellarwp/foundation-log

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

stellarwp/foundation-log
========================

The Foundation Logger

1.3.0(3w ago)00GPL-2.0-or-laterPHPPHP &gt;=8.3

Since Jun 2Pushed 3w agoCompare

[ Source](https://github.com/stellarwp/foundation-log)[ Packagist](https://packagist.org/packages/stellarwp/foundation-log)[ RSS](/packages/stellarwp-foundation-log/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (6)Versions (5)Used By (0)

Foundation Log
==============

[](#foundation-log)

Warning

**This is a read-only repository!** For pull requests or issues, see [stellarwp/foundation](https://github.com/stellarwp/foundation).

A logging library using [Monolog](https://github.com/Seldaek/monolog) that implements the `Psr\Log\LoggerInterface` interface.

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

[](#installation)

```
composer require stellarwp/foundation-log
```

If using [stellarwp/foundation-container](https://github.com/stellarwp/foundation-container), create a `config.php` and register it in the container with:

```
$this->container->bind(Dot::class, new Dot(require_once dirname(__FILE__) . '/config.php'));
```

The config.php file maps environment variables, either from an `.env` file if you configured [phpdotenv](https://github.com/vlucas/phpdotenv), or manually set, e.g.

```
