Android
This guide provides the necessary information before starting Hive SDK development.
Runtime logs¶
To check Hive SDK logs when the app is running, set useLog
to true
in the Configuration class.
Runtime log type settings¶
You can select and view specific log types within the Hive SDK logs. The Logger.setLogFilter API can be used to configure the Hive SDK log type. You can choose from the following six types, with LogType.Verbose as the default:
- LogType.Verbose: Development stage output logs
- LogType.Debug: Detailed logs for all stages
- LogType.Info: Hive SDK progress and result callbacks (recommended)
- LogType.Warning: Unexpected situations that do not affect game execution
- LogType.Error: Missing configuration information and errors affecting game execution
- LogType.None: No logs are output
The log types are categorized from highest to lowest levels as follows: logs at the set log level and below are output.
Verbose > Debug > Info > Waring > Error > None