sS simplifyLogLineForDisplay(S s) { s = unquote(s); if (startsWithDigit(s) && isBetween(parseFirstLong(s), dateBeforeAnyLogFiles(), dateInTheFarFuture())) s = trimSubstring(s, indexOfNonDigit(s)); s = dropAnyPrefix(s, ": ", "| "); s = replaceAnyPrefix("{", s, "lhm{", "hm{"); ret shorten(s, 100); }