arnested/psr3-journald

PSR-3 logging to systemd's journald

dev-main 2024-11-12 07:05 UTC

This package is auto-updated.

Last update: 2024-11-12 07:06:30 UTC


README

An experimental PSR-3 compatible logger logging (structured) data to Journald.

Requirements

This library requires PHP 8.1 or later.

FFI is supported from 7.4 and is used to write to Journald.

You also need to have systemd on the machine.

Usage

See example.php.