AdLogger

@objc(AASDKAdLogger)
public final class AdLogger : NSObject

Main logger class for AdswizzSDK. The destination output conforms to the AdLoggerDestination protocol.

  • The AdLogger level type.

    See more

    Declaration

    Swift

    @objc
    public enum Level : Int
    From AdswizzSDK:
    extension AdLogger.Level: Comparable
    extension AdLogger.Level: CustomStringConvertible
  • Shared instance for the logger.

    Declaration

    Swift

    @objc
    public static let shared: AdLogger
  • Set the log level. The default is none. See Level for possible values.

    Declaration

    Swift

    @objc
    public var level: AdLogger.Level
  • Set the destination for the logger. The default is NSLog.

    Declaration

    Swift

    @objc
    public var destination: AdLoggerDestination