Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Framework\ErrorBoundaries\Events;
|
||||
|
||||
use App\Framework\Core\ValueObjects\Timestamp;
|
||||
|
||||
/**
|
||||
* Base interface for error boundary events
|
||||
*/
|
||||
interface BoundaryEventInterface
|
||||
{
|
||||
public string $boundaryName {get;}
|
||||
|
||||
public string $eventType {get;}
|
||||
|
||||
public Timestamp $occurredAt {get;}
|
||||
|
||||
public string $severity {get;}
|
||||
|
||||
public ?string $message {get;}
|
||||
|
||||
public array $context {get;}
|
||||
|
||||
/**
|
||||
* Get event identifier for logging/tracking
|
||||
*/
|
||||
public function getEventId(): string;
|
||||
|
||||
/**
|
||||
* Check if event should trigger alerts
|
||||
*/
|
||||
public function shouldAlert(): bool;
|
||||
|
||||
/**
|
||||
* Get event payload for serialization
|
||||
*/
|
||||
public function toArray(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user