Skip to content

Commit 74ce0ef

Browse files
committed
Fix logging initial null viewLoadingTime on first call to addViewLoadingTime
1 parent c0044da commit 74ce0ef

File tree

1 file changed

+1
-1
lines changed
  • features/dd-sdk-android-rum/src/main/kotlin/com/datadog/android/rum/internal/domain/scope

1 file changed

+1
-1
lines changed

features/dd-sdk-android-rum/src/main/kotlin/com/datadog/android/rum/internal/domain/scope/RumViewScope.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ internal open class RumViewScope(
275275
internalLogger.log(
276276
InternalLogger.Level.DEBUG,
277277
InternalLogger.Target.USER,
278-
{ ADDING_VIEW_LOADING_TIME_DEBUG_MESSAGE_FORMAT.format(Locale.US, viewLoadingTime, viewName) }
278+
{ ADDING_VIEW_LOADING_TIME_DEBUG_MESSAGE_FORMAT.format(Locale.US, newLoadingTime, viewName) }
279279
)
280280
internalLogger.logApiUsage {
281281
InternalTelemetryEvent.ApiUsage.AddViewLoadingTime(

0 commit comments

Comments
 (0)