eplightning / roadrunner-logger
RoadRunner Logging Service Integration
v0.1.2
2020-03-20 13:33 UTC
Requires
- php: >=7.0
- psr/log: ^1.1
- spiral/goridge: ^2.1
Requires (Dev)
- phpunit/phpunit: ^8.4
This package is auto-updated.
Last update: 2024-10-25 09:00:47 UTC
README
Logging service for RoadRunner exposing RPC method(s) to integrate with RoadRunner logging facilities. It aims to simplify logging in PHP applications, letting RoadRunner handle everything.
PHP
composer require eplightning/roadrunner-logger
PHP composer package includes simple helper class for making RPC calls to RR service. PSR-3 spec is also implemented allowing simple integration with existing logging libraries - such as Monolog.
RoadRunner Service
WIP, need docs
TODO
- Monolog handler (not really needed since Monolog's PsrHandler exists)
- Option to log application stderr without enabling debug mode in RR - might be useful for catching fatal PHP errors (OOM?) without all the extra debug logging
- Docs and tests