Story #48874: As a developer I want a PSR-3 compatible Logging API
Implement LoggerInterface from PSR-3
PSR-3 expects the \TYPO3\CMS\Core\Log\Logger to extend AbstractLogger which implements LoggerInterface. AbstractLogger contains the shorthand log methods like debug(), warning() or error(). These shorthands call the log() mehthod which is implemented in Logger.
Updated by Helmut Hummel about 9 years ago
Ernesto Baschny wrote:
It's not a requirement to extend AbstractLogger,
we need simply to implement LoggerInterface one way of the other. But since the AbstractLogger is rather simple, it probably don't hurt to do it this way.
We should only do it, if we think it makes sense for us. I don't see a real benefit in doing so.