Files
ports/www/envoy/files/patch-source_common_common_logger.cc
T
Vanilla I. Shu e00fb1022a 1: Update devel/spdlog to 1.4.2.
2: Fix build issue due spdlog's upgrade.

Approved by:	danfe@ (www/envoy), adridg@ (net-im/nheko), maintainer timeout (sunpoet@, jhixson@)
2019-12-04 13:19:05 +00:00

12 lines
436 B
C++

--- source/common/common/logger.cc.orig 2019-11-24 23:36:11.089013000 +0800
+++ source/common/common/logger.cc 2019-11-24 23:36:22.474417000 +0800
@@ -61,7 +61,7 @@ void DelegatingLogSink::log(const spdlog::details::log
return;
}
- fmt::memory_buffer formatted;
+ spdlog::memory_buf_t formatted;
formatter_->format(msg, formatted);
lock.Release();
sink_->log(absl::string_view(formatted.data(), formatted.size()));