XCGLogger、键盘

打印格式: XCGlogger

log.setup(.Verbose, showLogIdentifier: false, showFunctionName: false, showThreadName: false, showLogLevel: false, showFileNames: true, showLineNumbers: true, showDate: false, writeToFile: nil, fileLogLevel: .Verbose)
       
//测试XCGLogger + XcodeColors + 
        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.warning("A warning message, may indicate a possible error")
        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")

打印颜色: XcodeColors

 log.xcodeColorsEnabled = true

在终端运行下面代码,就会弹出加载选项了

defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.3.1

打印的东西点击直接跳转到所在行数: KZLinkedConsole

添加插件时,弹出加载选项时应该选择load bundles

键盘: IQKeyboardManagerSwift

    //启用键盘
     OC: IQKeyboardManager.sharedManager.enable = true

你可能感兴趣的:(XCGLogger、键盘)