Files
michaelschiemer/src/Framework/Exception/SecurityLogLevel.php
Michael Schiemer 55a330b223 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
2025-08-11 20:13:26 +02:00

32 lines
603 B
PHP

<?php
declare(strict_types=1);
namespace App\Framework\Exception;
/**
* Security-spezifische Log-Level nach OWASP-Standard
*/
enum SecurityLogLevel: string
{
case DEBUG = 'DEBUG';
case INFO = 'INFO';
case WARN = 'WARN';
case ERROR = 'ERROR';
case FATAL = 'FATAL';
/**
* Numerischer Wert für Vergleiche
*/
public function getNumericValue(): int
{
return match ($this) {
self::DEBUG => 100,
self::INFO => 200,
self::WARN => 300,
self::ERROR => 400,
self::FATAL => 500,
};
}
}