Replaces all flavors of SPDY_LOG with the QUICHE equivalents.
PiperOrigin-RevId: 367497148
Change-Id: I5a7092649df7d919d23bc80a3cd1f4002472fa22
diff --git a/spdy/core/spdy_framer.cc b/spdy/core/spdy_framer.cc
index 8569576..d6f0f88 100644
--- a/spdy/core/spdy_framer.cc
+++ b/spdy/core/spdy_framer.cc
@@ -14,11 +14,11 @@
#include "absl/memory/memory.h"
#include "http2/platform/api/http2_macros.h"
#include "common/platform/api/quiche_bug_tracker.h"
+#include "common/platform/api/quiche_logging.h"
#include "spdy/core/spdy_bitmasks.h"
#include "spdy/core/spdy_frame_builder.h"
#include "spdy/core/spdy_frame_reader.h"
#include "spdy/platform/api/spdy_estimate_memory_usage.h"
-#include "spdy/platform/api/spdy_logging.h"
#include "spdy/platform/api/spdy_string_utils.h"
namespace spdy {
@@ -129,7 +129,8 @@
}
if (!ret) {
- SPDY_DLOG(WARNING) << "Failed to build HEADERS. Not enough space in output";
+ QUICHE_DLOG(WARNING)
+ << "Failed to build HEADERS. Not enough space in output";
}
return ret;
}
@@ -159,7 +160,7 @@
ok = builder.WriteBytes(padding.data(), padding.length());
}
- SPDY_DLOG_IF(ERROR, !ok)
+ QUICHE_DLOG_IF(ERROR, !ok)
<< "Failed to write PUSH_PROMISE encoding, not enough "
<< "space in output";
return ok;
@@ -177,8 +178,8 @@
} else if (type == SpdyFrameType::PUSH_PROMISE) {
end_flag = PUSH_PROMISE_FLAG_END_PUSH_PROMISE;
} else {
- SPDY_DLOG(FATAL) << "CONTINUATION frames cannot be used with frame type "
- << FrameTypeToString(type);
+ QUICHE_DLOG(FATAL) << "CONTINUATION frames cannot be used with frame type "
+ << FrameTypeToString(type);
}
// Write all the padding payload and as much of the data payload as possible
@@ -422,7 +423,7 @@
frame_ir.release())));
}
case SpdyFrameType::DATA: {
- SPDY_DVLOG(1) << "Serialize a stream end DATA frame for VTL";
+ QUICHE_DVLOG(1) << "Serialize a stream end DATA frame for VTL";
HTTP2_FALLTHROUGH;
}
default: {