Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我SQLite.swift在我的 iOS 项目中使用库。
SQLite.swift
现在我SQLite按照文档中的建议使用 db.trace(println) 记录句子,但我想将XCGLogger库与log.info().
SQLite
XCGLogger
log.info()
有人知道怎么做吗?
您可以使用闭包并在其中调用log.info()函数:
db.trace { SQL in log.info(SQL) }