Debug Logs Output

If you find a trouble on the SDK introduction, you can find the specific cause by outputting debut logs. Please do not output logs when you release application.

Setting Debug logs output

  • Set logs output flag

    • When registering in info.plist

      Set the following in info.plist.

      key type value
      GNAdSDK_Log_Level String Info
    • When setting with code

    _adView.GNAdlogPriority = GNLogPriorityInfo;
    
    1
  • Set list of log output flag

    logs output flag logs output string Output level
    GNLogPriorityInfo Info Output All logs
    GNLogPriorityWarn Warn Output "WRAN" and "ERROR"
    GNLogPriorityNone None Not Output logs
Last Updated: 5/15/2019, 1:09:24 PM