/DKLogger

Primary LanguageSwiftMIT LicenseMIT

DKLogger

CI Status Version License Platform

Example

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.

Requirements

Installation

DKLogger is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DKLogger'

Author

winterrain5, 913419042@qq.com

License

DKLogger is available under the MIT license. See the LICENSE file for more info.