Download the PHP package msschl/monolog-seq-handler without Composer
On this page you can find all versions of the php package msschl/monolog-seq-handler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download msschl/monolog-seq-handler
More information about msschl/monolog-seq-handler
Files in msschl/monolog-seq-handler
Package monolog-seq-handler
Short Description msschl/monolog-seq-handler sends log records to a Seq-Server.
License MIT
Informations about the package monolog-seq-handler
Monolog Seq Handler
This package provides a SeqHandler for the Monolog library. Seq is a log server that runs on a central machine. Your applications send structured events through a package like monolog-seq-handler.
Prerequisites
- PHP 7.0 or above.
- Since this package adds a HttpHandler to the Monolog library, you should first install Monolog.
Installation
Install the latest version with
After the installation
...you need to decide on which HTTP client/adapter you want to use.
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 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.
Here is a list of all officially supported clients and adapters by HTTPlug: http://docs.php-http.org/en/latest/clients.html
Read more about HTTPlug in their docs.
Basic Usage
To authenticate or tag messages from the logger, set a Api-Key:
About
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub
Contributing
First of all, thank you for contributing! In order to make code reviews easier please follow some simple rules listed in the CONTRIBUTING.md file.
License
This project is licensed under the terms of the MIT license. See the LICENSE file for license rights and limitations.
All versions of monolog-seq-handler with dependencies
php-http/client-implementation Version ^1.0
php-http/httplug Version ^1.0
monolog/monolog Version ^1.23
msschl/monolog-http-handler Version ~0.0