Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnested/psr3-journald
PHP PSR-3 logging to `systemd`s `journald`
https://github.com/arnested/psr3-journald
experimental ffi hacktoberfest journald logger php psr-3 psr3 systemd
Last synced: about 2 months ago
JSON representation
PHP PSR-3 logging to `systemd`s `journald`
- Host: GitHub
- URL: https://github.com/arnested/psr3-journald
- Owner: arnested
- License: mit
- Created: 2020-03-09T09:55:43.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T16:51:50.000Z (3 months ago)
- Last Synced: 2024-10-08T15:11:02.948Z (3 months ago)
- Topics: experimental, ffi, hacktoberfest, journald, logger, php, psr-3, psr3, systemd
- Language: PHP
- Homepage: https://packagist.org/packages/arnested/psr3-journald
- Size: 98.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# PSR-3 logger for Journald
An experimental PSR-3 compatible logger logging (structured) data to Journald.
## Requirements
This library requires PHP 7.4 because it uses
[FFI](https://www.php.net/manual/en/class.ffi.php) to write to
Journald.You also need to have systemd on the machine.
## Usage
See [example.php](example.php).