Latest 0.1.3
Homepage https://github.com/FsThatOne/FSLogs
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod "FSLogger"

Usage

// 默认输出等级为全部输出:
Fs("哈哈哈")
FsInfo("嘻嘻")
FsWarn("嘿嘿")
FsError("错啦!!!")
// outPut:
// <⚪️Verbose⚪️>Tests.testExample()[20]哈哈哈
// <🎾  Info 🎾>Tests.testExample()[21]嘻嘻
// <⚠️Warning⚠️>Tests.testExample()[22]嘿嘿
// <‼️ Error ‼️>Tests.testExample()[23]错啦!!!
// 可以设置输出等级,低于此等级的log会被屏蔽:
FSLog.logLevelShown = .warnning
Fs("哈哈哈")
FsInfo("嘻嘻")
FsWarn("嘿嘿")
FsError("错啦!!!")
// outPut:
// <⚠️Warning⚠️>Tests.testExample()[27]嘿嘿
// <‼️ Error ‼️>Tests.testExample()[28]错啦!!!

Author

王正一, [email protected]

License

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

Latest podspec

{
    "name": "FSLogger",
    "version": "0.1.3",
    "summary": "A log tool in Swift.",
    "description": "1.u652fu6301u5206u7ea7u8f93u51fa,u53efu81eau5b9au4e49u6700u4f4eu8f93u51fau7b49u7ea7(Info,Warn,Error,All)n2.u5f69u8272u8f93u51fan3.u8f93u51fau65e5u5fd7u6587u4ef6u5230u5e94u7528u6c99u76d2,u5fc5u8981u65f6u53efu67e5u770bu65e5u5fd7n4.u5f00u5173u63a7u5236u8f93u51fau4e0eu5426",
    "homepage": "https://github.com/FsThatOne/FSLogs",
    "license": "MIT",
    "authors": {
        "u738bu6b63u4e00": "[email protected]"
    },
    "source": {
        "git": "https://github.com/FsThatOne/FSLogs.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "FSLogger/Classes/**/*",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This