在程序中添加一下下面的代码,然后执行一次,就可以了
setenv("XcodeColors", "YES", 0); // Enables XcodeColors (you obviously have to install it too)
setenv("XcodeColors", "NO", 0); // Disables XcodeColors
参考:
https://github.com/robbiehanson/XcodeColors
参考:
https://github.com/CocoaLumberjack/CocoaLumberjack/blob/master/Documentation/XcodeColors.md