set logger in extension , so its only done in debug mode add psr/log to suggest of templating add test for setLogger and refactor tests to not depend that much an deprecated functionality
This is the first step to make each Symfony Component and Bridge self-contained.