composer require cast/amqp
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
// ...
LogEvent::class => [
AmqpLogEventListener::class
],
];