We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
(b ? "X" : "Y")
1 parent 8c27711 commit 363fcaeCopy full SHA for 363fcae
1 file changed
google/cloud/internal/log_wrapper.cc
@@ -45,7 +45,7 @@ class DurationMessagePrinter
45
generator->PrintLiteral("\"");
46
generator->PrintString(absl::FormatDuration(d));
47
48
- generator->PrintLiteral(single_line_mode ? " " : "\n");
+ generator->Print(single_line_mode ? " " : "\n", 1);
49
}
50
};
51
@@ -63,7 +63,7 @@ class TimestampMessagePrinter
63
auto t = absl::FromUnixSeconds(seconds) + absl::Nanoseconds(nanos);
64
auto constexpr kFormat = "\"%E4Y-%m-%dT%H:%M:%E*SZ\"";
65
generator->PrintString(absl::FormatTime(kFormat, t, absl::UTCTimeZone()));
66
67
68
69
0 commit comments