<?php

namespace App\Events;

use App\Enums\LogLevelEnum;
use Illuminate\Foundation\Events\Dispatchable;

class ActionPerformed
{
    use Dispatchable;

    public function __construct(
        public string $message,
        public LogLevelEnum $level = LogLevelEnum::INFO,
        /** @var array<string, mixed> */
        public array $context = [],
    ) {}
}
