Unity Debug log

To analyze SDK installation troubles, you can specify the cause by outputting Debug logs. However, please do not output logs when releasing the application.

Android

List of log output flag settings

Log output flag Output level
DEBUG DEBUG, INFO, WRAN and ERROR log output
INFO INFO and WRAN and ERROR log is output
WARN WRAN and ERROR are output

Setting Debug log output

  1. Add the following to Assets / Plugins / Android / AndroidManifest.xml.
<meta-data
            android:name="jp.co.geniee.gnadsdk.common.gnadlogger.priority"
            android:value="DEBUG" />
1
2
3
4
  1. Debug log will appear in logcat on Android side.

iOS

Set the following in info.plist.

key type value
GNAdSDK_Log_Level String Info
  • 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

You can also change the LogLevel in the following way.

Log output flag setting list

Log output flag Output level
INFO INFO and WRAN and ERROR log is output
WARN WRAN and ERROR are output
NONE Do not output logs

Setting Debug log output

  1. Select Inspector setting Tab of SDK Plugin.
  2. Select INFO for Log Priority of GNAd Manager (Script).
Last Updated: 7/21/2020, 4:39:55 PM