[Translation] added LoggingTranslator.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #3015, #2435
| License       | MIT
| Doc PR       | symfony/symfony-docs/pull/4050
@aitboudad, this is not good for re-usability as you cannot change the constructor. You can use service decoration for this. I suggest you read upon the issue Fabien made: https://github.com/symfony/symfony/issues/11881