logger/loggly

PSR-3 兼容的 loggly 实现

0.1.4 2018-05-11 11:19 UTC

This package is auto-updated.

Last update: 2024-08-29 03:31:27 UTC


README

PSR-3 兼容的 loggly 实现。

安装

composer require logger/loggly

使用

$token = '<LogglyToken>';
$tags = ['tag1', 'tag2', 'tag3'];
$logger = new Logger\LogglyLogger($token, $tags);

$logger->info('Hello World');