log to stdout by default
decide on color only once