#56998Streamline exceptions types in Logging API
Description
LogManager::addWriter() and LogManager::addProcessor() catch exceptions and rethrow them as \RangeException. This is not a sufficient type, because:
- calling
makeInstance()inaddWriter()andaddProcessor()could trigger\InvalidArgumentException \RangeExceptioninLogLevel::validateLevel()has been replaced by\Psr\Log\InvalidArgumentException.