Hide
Because we don't what is the message to display (it can be logs from user), the console must not use formatted string argument to write on the console.
In some example, parenthesis in logs made the display crash because '(' and ')' characters are used to define group in formatted string.
As we could not know the content of these strings, formatted string must be replaced by normal string.
Two possible fixes are :
- escape parenthesis chars in the concrete console,
- change console API to prevent from giving formatted string
Show
Because we don't what is the message to display (it can be logs from user), the console must not use formatted string argument to write on the console.
In some example, parenthesis in logs made the display crash because '(' and ')' characters are used to define group in formatted string.
As we could not know the content of these strings, formatted string must be replaced by normal string.
Two possible fixes are :
- escape parenthesis chars in the concrete console,
- change console API to prevent from giving formatted string
The second one "change console API to prevent from giving formatted string " should be applied to version 1.0 for 1.1.