arnested / psr3-journald
PSR-3 logging to systemd's journald
dev-main
2023-12-01 17:14 UTC
Requires
- php: >=7.4
- psr/log: ^1.0
Requires (Dev)
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^0.12.14
- phpstan/phpstan-deprecation-rules: ^0.12.6
- phpstan/phpstan-symfony: ^0.12.33
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.5
Provides
- psr/log-implementation: 1.0.0
This package is auto-updated.
Last update: 2023-12-01 17:15:00 UTC
README
An experimental PSR-3 compatible logger logging (structured) data to Journald.
Requirements
This library requires PHP 7.4 because it uses FFI to write to Journald.
You also need to have systemd on the machine.
Usage
See example.php.