ExtendedString: use color output only for TTY. make server logs more pretty looking