text formatter: don't print msg with or without colored if empty