| 1 | <?php | ||
| 10 | trait LevelValidatorTrait | ||
| 11 | { | ||
| 12 | /** | ||
| 13 | * Determines if the specified level is legal under PSR-3. | ||
| 14 | * | ||
| 15 | * @param mixed $level The level to validate. | ||
| 16 | * | ||
| 17 | * @return void | ||
| 18 | * | ||
| 19 | * @throws InvalidArgumentException Throw if $level is not a know RFC-5424 level. | ||
| 20 | */ | ||
| 21 | protected function validateLevel($level) | ||
| 27 | } | ||
| 28 |