[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        | 
@stof I'm not speaking about interpolation (indeed, this is the responsibility of the `interpolate` method.

PSR-3 explicitly specifies that `$context` can hold any data (data that will not be used for message interpolation). It also specifies that a special `$context` key called `exception` can hold the thrown exception.

This a valid (and common) use case wanting a custom log formater accessing directly the context (to format in a special manner a specific kind of object) or formatting a thrown exception.
See my previous code sample in https://github.com/symfony/symfony/pull/12175#discussion_r18629502.