Latest 1.1.0
Homepage https://github.com/aikizoku/SKLogDebugger-iOS
License MIT
Platforms ios 10.0
Dependencies RxSwift, RxCocoa, SwiftyJSON, SwiftyAttributes
Frameworks UIKit
Authors

Saikyo log debugger.

Installation

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

pod 'SKLogDebugger'

Example

Import this Library.

import SKLogDebugger

Add log data.

// Sample 1
SKLogDebugger.shared.addLog(
  action: "action_1",
  data: [:]
)

// Sample 2
SKLogDebugger.shared.addLog(
  action: "action_2",
  data: [
    "data1": 123,
    "data2": "aaa",
    "data3": true
  ]
)

// Sample 3
SKLogDebugger.shared.addLog(
  action: "action_3",
  data: [
    "data1": [1, 2, 3, "a", "b", "c"],
    "data2": [
      "data21": -123,
      "data22": "bbb",
      "data23": false
    ],
    "data3": [
      "data31": [
        "data311": "999"
       ]
    ]
  ]
)

Open setting view.

SKLogDebugger.shared.openSettingView()

Set omit actions.

SKLogDebugger.shared.setOmitActions(["action_2", "action_3"])

Set PrentViewController

SKLogDebugger.shared.setParentViewController(myViewController)

Requirements

Swift4

RxSwift, RxCocoa, SwiftyJSON, SwiftyAttributes

Author

aikizoku, [email protected]

License

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

Latest podspec

{
    "name": "SKLogDebugger",
    "version": "1.1.0",
    "summary": "This is Saikyo.",
    "swift_version": "4.2",
    "description": "Saikyo log debugger.",
    "homepage": "https://github.com/aikizoku/SKLogDebugger-iOS",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "aikizoku": "[email protected]"
    },
    "source": {
        "git": "https://github.com/aikizoku/SKLogDebugger-iOS.git",
        "tag": "1.1.0"
    },
    "social_media_url": "https://twitter.com/aikizoku",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "SKLogDebugger/Classes/**/*",
    "resource_bundles": {
        "SKLogDebugger": [
            "SKLogDebugger/Assets/**/*.{xib,storyboard}"
        ]
    },
    "frameworks": "UIKit",
    "dependencies": {
        "RxSwift": [
            "~> 4.0"
        ],
        "RxCocoa": [
            "~> 4.0"
        ],
        "SwiftyJSON": [],
        "SwiftyAttributes": []
    }
}

Pin It on Pinterest

Share This