library logzio-monolog
Logz.io integration for Monolog
inpsyde/logzio-monolog
Logz.io integration for Monolog
- Friday, June 8, 2018
- by inpsyde
- Repository
- 4 Watchers
- 5 Stars
- 1,333 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 2 Open issues
- 4 Versions
- 210 % Grown
Logz.io Monolog integration
, (*1)
This package allows you to integrate Logz.io into Monolog., (*2)
Monolog support
Monolog 1, 2 and 3 will be supported in different versions:, (*3)
Monolog Version |
Logzio-Monolog Branch |
1.0 - 1.25.2 |
0.x |
>= 2.0 |
1.x |
>= 3.0 |
2.x |
- Monolog 1.x will be supported in this package in all versions of 0.x
- Monolog 2.x will be supported in this package in all versions of 1.x
Installation
Install the latest version with, (*4)
$ composer require inpsyde/logzio-monolog
Basic Usage
<?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');
dev-master
9999999-dev
Logz.io integration for Monolog
Sources
Download
MIT
The Requires
The Development Requires
log
logging
monolog
dev-issue-1-ext-curl
dev-issue-1-ext-curl
Logz.io integration for Monolog
Sources
Download
MIT
The Requires
The Development Requires
log
logging
monolog
0.2
0.2.0.0
Logz.io integration for Monolog
Sources
Download
MIT
The Requires
The Development Requires
log
logging
monolog
0.1
0.1.0.0
Logz.io integration for Monolog
Sources
Download
MIT
The Requires
The Development Requires
log
logging
monolog