symfony/symfony — pull request #3890 by meandmymonkey (2012-04-11 22:23:12+00:00)
Title: [FrameworkBundle][Translation] Added logging capability to translator

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #3015
Todo: -

Adds logging capabilities to `Symfony\Bundle\FrameworkBundle\Translation\Translator`. Logging is switchable through the new `enable_logging` config flag and defaults to `false`.

A minor addition to the Translation Component was necessary to avoid complete duplication of `trans()`and `transChoice()`.