SBCLogReceiver
@objc
public protocol SBCLogReceiver : AnyObject
Since
1.0.0-
Delegate method to be called when new log is generated. You have to implement this method to use the logs in your app.
var logs: [String] = [] func log(message: String) { self.logs.append(message) self.updateLogsView() } func updateLogsView() { // ... }
Since
1.0.0Declaration
Swift
@objc(logMessage:) func log(message: String)