Function paris::formatter::format_string
source · pub fn format_string<S>(input: S, with_colors: bool) -> String
Expand description
Finds all keys in the given input. If with_colors is true, it will replace all keys with their respective ANSI color code. Otherwise it will only replace the keys with an empty string.