Unreal Engine 4
This document provides information you need before starting to develop Hive SDK.
Common for all OS¶
This section describes common information for all operating systems.
Runtime logs¶
To check Hive SDK logs when running the app, set useLog
to true
in the Configuration class.
Setting runtime log type¶
You can select specific log types to view from the Hive SDK logs. You can set the Hive SDK log type using the Logger.setLogFilter API. The default setting is LogType.Verbose among the 6 types below.
- 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 occur, but errors that do not affect game execution
- LogType.Error: Errors that affect game execution due to missing configuration information
- LogType.None: Does not output any logs
The log type order is as follows, from high to low level, and only logs lower than the set log type will be output.
Verbose > Debug > Info > Waring > Error > None
LogFilter logFilter = new LogFilter();
logFilter.coreLog = LogType::Info;
logFilter.serviceLog = LogType::Info;
Logger.setLogFilter(logFilter);
Android¶
There are no special considerations when starting development in the Hive SDK Unreal Engine 4 Android environment.
iOS¶
There are no special considerations when starting development in the Hive SDK Unreal Engine 4 iOS environment.
Windows¶
There is nothing to note before starting development in Hive SDK Unreal Engine 4 Windows Environment.