PHPackages                             repejota/monolog-nats - 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. repejota/monolog-nats

ActiveLibrary

repejota/monolog-nats
=====================

A Monolog NATS handler.

0.0.11(8y ago)310MITPHP

Since Jul 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/repejota/monolog-nats)[ Packagist](https://packagist.org/packages/repejota/monolog-nats)[ Docs](https://github.com/repejota/monolog-nats)[ RSS](/packages/repejota-monolog-nats/feed)WikiDiscussions develop Synced today

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

Monolog NATS
============

[](#monolog-nats)

Monolog handler for sending logs to NATS (). Useful for async recording those logs on another machine.

- Develop [![CircleCI](https://camo.githubusercontent.com/6347bf56774968060c2e2a82445b25a4a5dbbff301361aa7132260852bdf636f/68747470733a2f2f636972636c6563692e636f6d2f67682f726570656a6f74612f6d6f6e6f6c6f672d6e6174732f747265652f646576656c6f702e7376673f7374796c653d737667)](https://circleci.com/gh/repejota/monolog-nats/tree/develop)
- Master [![CircleCI](https://camo.githubusercontent.com/6140745f0d1d46567dfc5a1a37725d0f9354387531d7e0bb0a1345c7ae66dd66/68747470733a2f2f636972636c6563692e636f6d2f67682f726570656a6f74612f6d6f6e6f6c6f672d6e6174732f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/repejota/monolog-nats/tree/master)
- Coverage [![Coverage Status](https://camo.githubusercontent.com/3b008f64e98d0bdbf96a779c88710124689ef94dd0d45c95065f868e27d380cb/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f726570656a6f74612f6d6f6e6f6c6f672d6e6174732f62616467652e737667)](https://coveralls.io/github/repejota/monolog-nats)

Install
-------

[](#install)

```
composer require repejota/monolog-nats
```

This will install this package itself [Monolog](https://packagist.org/packages/monolog/monolog)and [PHPNAts](https://github.com/repejota/phpnats), if they are not yet installed.

Example
-------

[](#example)

```
