Android 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.

  • Set the log output flag.

    • When setting with code

      • Write the following in the code.
      adView.setLogPriority(GNAdLogger.INFO);
      
      1
    • To write on AndroidManifest

      • Write it in <application> of the manifest file.
      <meta-data
          android:name="jp.co.geniee.gnadsdk.common.gnadlogger.priority"
          android:value="INFO" />
      
      
      1
      2
      3
      4
  • Log output flag setting list

    Other than video reward Video Reward Output Level
    GNAdLogger.INFO android:value="INFO" Output All logs
    GNAdLogger.WARN android:value="WARN" Output "WRAN" and "ERROR"
    GNAdLogger.NONE android:value="NONE" Not Output logs
Last Updated: 4/8/2019, 5:12:14 PM