轻量化开发小程序如何提升企业数字化转型的效率与灵活性
1363
2022-10-17
XCGLogger- Swift 日志框架
XCGLogger 是为 Swift 语言编写的日志框架。
示例代码:
import XCGLoggerlet log = XCGLogger.defaultInstance()log.verbose("A verbose message, usually useful when working on a specific problem")log.debug("A debug message")log.info("An info message, probably useful to power users looking in console.app")log.error("An error occurred, but it's recoverable, just info about what happened")log.severe("A severe error occurred, we are likely about to crash now")
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~