PHPackages                             zire/psr-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. zire/psr-log

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

zire/psr-log
============

Common interface for logging libraries

1.2.0(5y ago)015MITPHPPHP &gt;=8.0

Since Dec 21Pushed 5y agoCompare

[ Source](https://github.com/phptux/log)[ Packagist](https://packagist.org/packages/zire/psr-log)[ Docs](https://github.com/php-fig/log)[ RSS](/packages/zire-psr-log/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)DependenciesVersions (10)Used By (0)

PSR Log
=======

[](#psr-log)

This repository holds all interfaces/classes/traits related to [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).

Note that this is not a logger of its own. It is merely an interface that describes a logger. See the specification for more details.

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

[](#installation)

```
composer require zire/psr-log
```

Usage
-----

[](#usage)

If you need a logger, you can use the interface like this:

```
