Saikyo log debugger.
SKLogDebugger is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SKLogDebugger'
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)
Swift4
RxSwift, RxCocoa, SwiftyJSON, SwiftyAttributes
aikizoku, yuki@thehero.jp
SKLogDebugger is available under the MIT license. See the LICENSE file for more info.