[Console] [ConsoleLogger] added formatOutput method

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | 
| License       | MIT
| Doc PR        | 
@dunglas supporting the PSR-3 interpolation is what ``interpolate`` implements. It is not the goal of this new method (the name of the method could probably be improved though, to make its purpose clearer)