SCAdLog

@interface SCAdLog : NSObject

Use this class to enable loggings helping you with troubleshooting any kind of errorous behavior of SmartclipSDKiOS

  • Check if logging is enabled, or enable/disable it

    Declaration

    Objective-C

    @property (class, nonatomic) BOOL loggingEnabled;
  • Set a log delegate to receive log messages as strings

    Declaration

    Objective-C

    @property (class, nonatomic, weak) id<SCAdLogDelegate> _Nullable logDelegate;
  • Pass desired log level here.

    Declaration

    Objective-C

    + (void)setLogLevel:(LogLevel)level;
  • Get current log level

    Declaration

    Objective-C

    + (LogLevel)getLogLevel;