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

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

pluggit/logging
===============

Logging provides a thin PSR-7 interface abstraction to connect any logging facility behind it.

2.0.0(1y ago)033.9k[2 PRs](https://github.com/CMProductions/logging/pulls)MITPHPPHP ^8.0

Since Sep 30Pushed 3mo ago16 watchersCompare

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

READMEChangelog (7)Dependencies (6)Versions (22)Used By (0)

Pluggit Logging
===============

[](#pluggit-logging)

[![Build Status](https://camo.githubusercontent.com/6b1c5d4103cf5edc8060244b7d2c4a870cd3b860f1f18501d88b55c30706fc5b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f434d50726f64756374696f6e732f6c6f6767696e672f6261646765732f6275696c642e706e673f623d6d617374657226733d65363736656165343563306665613061306461343832376266303365656366373936616234306437)](https://scrutinizer-ci.com/g/CMProductions/logging/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8f5ae70c9b23981c5e1eb056cfe288d820019b6cfa5f46edd7c694b1559560f1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f434d50726f64756374696f6e732f6c6f6767696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d617374657226733d32393464353062646334376361396131343534373538666461303562623561336131396130646265)](https://scrutinizer-ci.com/g/CMProductions/logging/?branch=master)

*Logging* gives you a simple abstraction compatible with [PSR-3 logger interface](http://www.php-fig.org/psr/psr-3/) that you can connect to a different backend to customize your logging needs

Logging provides a thin PSR-7 interface abstraction to connect any logging facility behind it.

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

[](#installation)

Require the library as usual:

```
composer require "pluggit/logging"
```

Monolog
-------

[](#monolog)

This library provides [Monolog](https://github.com/Seldaek/monolog) as its main logging backend. You will need to install the library manually:

```
composer require monolog/monolog ^1.2
```

To create factory, set default channel name as first parameter and Formatter as second one.

```
