PHPackages                             msschl/monolog-seq-handler - 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. msschl/monolog-seq-handler

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

msschl/monolog-seq-handler
==========================

msschl/monolog-seq-handler sends log records to a Seq-Server.

0.1.1(7y ago)419.0k↓33.6%5[1 issues](https://github.com/msschl/monolog-seq-handler/issues)MITPHPPHP ^7.0

Since Apr 9Pushed 6y ago3 watchersCompare

[ Source](https://github.com/msschl/monolog-seq-handler)[ Packagist](https://packagist.org/packages/msschl/monolog-seq-handler)[ RSS](/packages/msschl-monolog-seq-handler/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelog (1)Dependencies (10)Versions (6)Used By (0)

[![Build Status](https://camo.githubusercontent.com/b6d78ec5facd8cac1313ba369c0e0264e84c357fb2cd80236ace3c514dc857d3/68747470733a2f2f7472617669732d63692e6f72672f6d737363686c2f6d6f6e6f6c6f672d7365712d68616e646c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/msschl/monolog-seq-handler)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e1087c13afb919b6ddcf807b10e47778cfefbee9329c0c1fce2a0d0538e0102b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d737363686c2f6d6f6e6f6c6f672d7365712d68616e646c65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/msschl/monolog-seq-handler/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/6246596b9f597e51e7735c851ffd838c71e52a013113da50b7f83622e20314b7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d737363686c2f6d6f6e6f6c6f672d7365712d68616e646c65722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Coverage Status](https://camo.githubusercontent.com/50639199273dbca22cfeac6cf3c1375082af281c4bf30ac52ebcfac7f322b5f6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d737363686c2f6d6f6e6f6c6f672d7365712d68616e646c65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/msschl/monolog-seq-handler?branch=master)

Monolog [Seq](https://getseq.net/) Handler
==========================================

[](#monolog-seq-handler)

This package provides a SeqHandler for the [Monolog](https://github.com/Seldaek/monolog) library. [Seq](https://getseq.net/) is a log server that runs on a central machine. Your applications send structured events through a package like [monolog-seq-handler](https://github.com/msschl/monolog-seq-handler).

Prerequisites
-------------

[](#prerequisites)

- PHP 7.0 or above.
- Since this package adds a HttpHandler to the [Monolog](https://github.com/Seldaek/monolog) library, you should first install [Monolog](https://github.com/Seldaek/monolog#installation).

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

[](#installation)

Install the latest version with

```
$ composer require msschl/monolog-seq-handler
```

#### After the installation

[](#after-the-installation)

...you need to decide on which [HTTP client/adapter](https://packagist.org/providers/php-http/client-implementation) you want to use.

##### HTTP Clients

[](#http-clients)

In order to send HTTP requests, you need a HTTP adapter. This package relies on HTTPlug which is build on top of [PSR-7](https://www.php-fig.org/psr/psr-7/)and defines how HTTP message should be sent and received. You can use any library to send HTTP messages that implements [php-http/client-implementation](https://packagist.org/providers/php-http/client-implementation).

Here is a list of all officially supported clients and adapters by HTTPlug:

Read more about HTTPlug in [their docs](http://docs.php-http.org/en/latest/httplug/users.html).

Basic Usage
-----------

[](#basic-usage)

```
