abstract fun collectLogsToFile(fileName: String!): Unit
Collect logs from logcat to file. Set log level by com.tomtom.online.sdk.common.util.LogUtils#enableLogs(int)
. The best place for set log level is Application#onCreate()
method. Android Runtime Permissions handled by this method. When method is called the Android will ask about permissions.