lmsomeco / loki
Log handler to send monolog entries to a specified endpoint
1.0.0
2022-04-04 07:04 UTC
Requires
- monolog/monolog: ^2.0
This package is auto-updated.
Last update: 2024-05-05 12:06:43 UTC
README
Usage
Laravel
/config/logging.php
use Lmsomeco\Loki\LokiLogger; ... 'channels' => [ ... 'loki' => [ 'driver' => 'custom', 'via' => LokiLogger::class, 'data' => [ 'url' => 'https://examplelogger.com/api/endpoint', 'token' => '12345678901234567' ] ] ]
Wordpress
Link to wordpress plugin goes here.