Log

Log 是对 XCGLogger 的封装。

设置一次

Log.setDefaultLog()

之后就能使用

Log.debug("A debug message")
Log.info("An info message, probably useful to power users looking in console.app")
Log.warning("A warning message, may indicate a possible error")
Log.error("An error occurred, but it's recoverable, just info about what happened")

results matching ""

    No results matching ""