Added logStreamWithColor to allow getting the stream with ANSI colors