arnested / psr3-journald
PSR-3 logging to systemd's journald
Installs: 1 561
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
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: 2024-10-31 16:59:07 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.