Logger.debug("hello world")
Logger.info("hello world")
Logger.warn("hello world")
Logger.error("hello world")
- 设置路径和文件名称
Logger.cacheDirectory = ""
Logger.cacheTxtName = ""
- 设置debug模式下是否写入文件 默认不写入
Logger.isEnableWriteToFileInDebugMode = true
To run the example project, clone the repo, and run pod install
from the Example directory first.
DKLogger is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'DKLogger'
winterrain5, 913419042@qq.com
DKLogger is available under the MIT license. See the LICENSE file for more info.