Improved the way colors are formatted with the logger