メインコンテンツまでスキップ

Logger configuration

The Navigation SDK UX Framework is pre-built with the comprehensive logging system. You can write logs to different outputs based on whether debug mode is enabled or not. You can filter log messages by a log level through configuration API:

Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
logLevel = LogsExtra.LOG_LEVEL_ERROR
}

The default value is LogsExtra.LOG_LEVEL_INFO.

この{Type}は役に立ちましたか?