NSLogã§Xcodeã«ãã°ãåºåãããã®ã¯çããããã£ã¦ããã¨æãã¾ããããã°ãå¤ããªã£ã¦ããã¨å¤§äºãªæ å ±ãè¦è½ã¨ããã¡ã«ãªãã¾ãã ããã§ãXcodeã®ãã°åºåã«è²ãã¤ãã¾ãããï¼ NSLogã«è²ãã¤ããã®ã¯ç°¡å・・・ã§ã¯ãªãï¼ ãã°åºåã«è²ãã¤ãããããç°¡åã ããã¨æã£ã¦ãã¾ãããããNSLog colorããªã©ã§æ¤ç´¢ãã¦ã¿ã¦ãæå¤ã¨ãºããªã®æ å ±ãåºã¦æ¥ã¾ããã Any way to print in color with NSLog? åç´ã«ã¯è²ãã¤ããããªããã§ãã NSLog(@"%@", @"log"); NSLog(@"\e[1;31mRed text here\e[m normal text here"); NSLog(@"\033[fg255,0,0;%@\033[;", @"Red log"); NSLog(@"\033[fg0,0,255;%@\033[;", @"
{{#tags}}- {{label}}
{{/tags}}