| Total Complexity | 2 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | final class LogLevelException extends AenthillException |
||
| 5 | { |
||
| 6 | public static function invalidLogLevel(string $wrongLogLevel): self |
||
| 7 | { |
||
| 8 | return new self("Accepted values for log level: DEBUG, INFO, WARN, ERROR. Got '$wrongLogLevel'"); |
||
| 9 | } |
||
| 10 | |||
| 11 | public static function emptyLogLevel(): self |
||
| 14 | } |
||
| 15 | } |
||
| 16 |