logger/logsene

A psr-3 compatible Logsene implementation

1.0.1 2020-06-18 11:48 UTC

This package is auto-updated.

Last update: 2024-11-25 06:37:30 UTC


README

A logger for Logsene

Installation

composer require logger/logsene

Example configuration

$url = "https://logsene-receiver.eu.sematext.com/66260a29-f1cc-4121-8b24-058587ba0a80/test/";
$tags = ['test'];
$context = ['test' => true];
$httpClientAdapter = null; /// Use the default http-client-adapter
$logger = new \Logger\LogseneLogger($url, $tags, $context, $httpClientAdapter);
$logger->debug('This is a test-message');