[sr-dev] git:master: xlog: use the function from core to get term color codes