[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        | 
You can pass interpolate `protected` too. It seems important to pass the whole context to the extension point.