ok -- checked -- so within ' ' escape symbols are not treated, but they are within "", so IMHO for the best readability it is better just to have "CRITICAL - ...\n".  Similar in other locations -- why not to have everything just within "" and even avoid using concatenation (with .) and use variables within the strings, e.g. ```"$display - the thresholds ... .\n"```

or there is a catch? just wondering