This package allows you to integrate Logz.io into Monolog.
Install the latest version with
$ composer require inpsyde/logzio-monolog
<?php
use Monolog\Logger;
use Inpsyde\LogzIoMonolog\Handler\LogzIoHandler;
// create a log channel
$log = new Logger('name');
$log->pushHandler(new LogzIoHandler('<your-token>'));
// add records to the log
$log->warning('Foo');
$log->error('Bar');