qlimix / messagebus-logging-middleware
Logging messages going through the messagebus with middleware
2.0.0
2020-04-19 11:32 UTC
Requires
- php: >=7.4
- qlimix/logging-message-logger: ^2.0
- qlimix/messagebus: ^2.0
Requires (Dev)
- qlimix/code-standard: ^2.0
This package is auto-updated.
Last update: 2024-11-19 22:09:51 UTC
README
Logging messages going through the messagebus with middleware.
Install
Using Composer:
$ composer require qlimix/messagebus-logging-middleware
usage
<?php use Qlimix\MessageBus\MessageBus\Middleware\MessageLoggerMiddleware; $messageLogger = new FooBarMessageLogger(); $messageLoggerMiddleware = new MessageLoggerMiddleware($messageLogger);
Testing
To run all unit tests locally with PHPUnit:
$ vendor/bin/phpunit
Quality
To ensure code quality run grumphp which will run all tools:
$ vendor/bin/grumphp run
Contributing
Please see CONTRIBUTING for details.