Actions
Bug #56998
closedStreamline exceptions types in Logging API
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Logging
Target version:
-
Start date:
2014-03-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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
\RangeException
inLogLevel::validateLevel()
has been replaced by\Psr\Log\InvalidArgumentException
.
Actions