TXLogger
public final class TXLogger : NSObject
Class responsible for control logging in the SDK, allowing external log handlers
to be updated by SDK clients via the TXLogHandler protocol.
By default, TXLogger is initialized with a TXStandardLogHandler instance set to log only warning and error log messages.
-
Updates the log handler of the SDK with an external class that conforms to the
TXLogHandlerprotocol.Declaration
Swift
@objc public static func setHandler(handler: TXLogHandler?)Parameters
handlerThe new log handler to be used
View on GitHub