Latest 1.0.0
Homepage https://github.com/iosBob/BLoger
License MIT
Platforms ios 8.0
Dependencies CocoaLumberjack/Swift, SnapKit
Frameworks UIKit, Foundation
Authors

CI Status
Version
License
Platform

Demo screenshot

How to use

AppDelegate application func Initialization BLoger

        // 初始化LOG
        let config = BLogConfig()
        // config.maxMessageSize = 500 // 每条message最大字符限制,会把回车转空格
        BLoger.shared.start(config)
        BLoger.shared.shankShow = true // 摇一摇显示LogView

        // 验证日志格式
        BLog()
        BLog_v("Verbose")
        BLog_d("Debug")
        BLog_i("Info")
        BLog_w("Warn")
        BLog_e("Error")
        BLog_g()

        BLog("------------启动应用---------------")

Example

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

Installation

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

pod 'BLoger'

Author

linbo, [email protected]

License

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

Latest podspec

{
    "name": "BLoger",
    "version": "1.0.0",
    "summary": "A Loger Demo of CocoaLumberjack/Swift",
    "swift_versions": "4.0",
    "description": "A Loger Demo of CocoaLumberjack/Swift.",
    "homepage": "https://github.com/iosBob/BLoger",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "linbo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/iosBob/BLoger.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "BLoger/Classes/**/*",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "dependencies": {
        "CocoaLumberjack/Swift": [],
        "SnapKit": []
    }
}

Pin It on Pinterest

Share This