Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
add XCGLogger Desc
Browse files Browse the repository at this point in the history
  • Loading branch information
YDZ committed Nov 8, 2016
1 parent 121e73a commit a81da18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ MonkeyKing 帮助开发者快速集成国内主流社交应用(微信、微博

## Debug
###[XCGLogger](https://github.com/DaveWoodCom/XCGLogger)
由于 Swift 本身不包含 C 的预编译器,导致开发者不能使用在 OC 中定义过的宏定义进行调试打印。简单的打印调用栈的信息,又会漏掉很多有用信息。想要解决这个问题又需要加入更多的代码。基于这个目的, XCGLogger 给纯的 Swift 项目带来了解决方案。 XCGLogger 允许你在控制台记录任何细节,使用起来极其简单,和使用 nslog() 或 print() 一样方便。 XCGLogger 可以打印任何信息,甚至可以打印日期、函数名、文件名和行号等等。

###[CocoaLumberjack](https://github.com/CocoaLumberjack/CocoaLumberjack)
OC 时代最好用的记录日志的开源库。现在同时有 OC 版和 swift 版本提供。
Expand Down

0 comments on commit a81da18

Please sign in to comment.