Skip to content

Commit 660439b

Browse files
committed
Incorrect format
1 parent fcacacc commit 660439b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-perf/src/main/java/com/google/firebase/perf/transport/TransportManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ private static String getLogcatMsg(TraceMetric traceMetric) {
618618
long durationInUs = traceMetric.getDurationUs();
619619
return String.format(
620620
Locale.ENGLISH,
621-
"trace metric: %s (duration: %.4fms)",
621+
"trace metric: %s (duration: %sms)",
622622
traceMetric.getName(),
623623
new DecimalFormat("#.####").format(durationInUs / 1000.0));
624624
}
@@ -636,7 +636,7 @@ private static String getLogcatMsg(NetworkRequestMetric networkRequestMetric) {
636636

637637
return String.format(
638638
Locale.ENGLISH,
639-
"network request trace: %s (responseCode: %s, responseTime: %.4fms)",
639+
"network request trace: %s (responseCode: %s, responseTime: %sms)",
640640
networkRequestMetric.getUrl(),
641641
responseCode,
642642
new DecimalFormat("#.####").format(durationInUs / 1000.0));

0 commit comments

Comments
 (0)