<?php

declare(strict_types=1);

namespace App\Listeners\Queue;

use Illuminate\Queue\Events\QueueBusy;
use Illuminate\Support\Facades\Log;

class LogQueueBusy
{
    public function handle(QueueBusy $event): void
    {
        Log::info('QueueBusy', [
            'connection' => $event->connectionName,
            'remember' => $event->queue,
            'size' => $event->size,
        ]);
    }
}
