开发者

Is it possible to styling log for XCode

Now I was use NSLog() for debugging inside IDE, Is it possible to styling Log in Xcode ?

Example


You can use the XcodeColors xcode plugin to colorize log statements in the Xcode console: https://github.com/robbiehanson/XcodeColors

It's very easy to use in combination with CocoaLumberjack: https://github.com/robbiehanson/CocoaLumberjack/wiki/XcodeColors

For example, with Lumberjack, one line of code allows you to set the color for all error messages. You could make them show up in red so they're easily distinguishable from other debug logging.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜