TXStandardLogHandler

public class TXStandardLogHandler : NSObject
extension TXStandardLogHandler: TXLogHandler

Helper log handler that accepts a minimum allowed log level.

If the SDK tries to log a level lower that the one passed in the initialization, then the message is not logged.

  • Initializes the standard log helper with a minimum log level.

    Declaration

    Swift

    @objc
    public init(_ minLogLevel: TXLogLevel)

    Parameters

    minLogLevel

    The minimum allowed log level

  • Declaration

    Swift

    public func verbose(_ message: String)
  • Declaration

    Swift

    public func info(_ message: String)
  • Declaration

    Swift

    public func warning(_ message: String)
  • Declaration

    Swift

    public func error(_ message: String)