logger.cc: remove unused function append_property (#24966)

remove append_property
old-commit-hash: 461f747247add7d4c50344042997427cdb2a90fa
This commit is contained in:
Dean Lee
2022-06-27 17:18:56 +08:00
committed by GitHub
parent a7495417f6
commit 16898dee68
-9
View File
@@ -19,15 +19,6 @@
#include "common/swaglog.h"
#include "common/version.h"
// ***** logging helpers *****
void append_property(const char* key, const char* value, void *cookie) {
std::vector<std::pair<std::string, std::string> > *properties =
(std::vector<std::pair<std::string, std::string> > *)cookie;
properties->push_back(std::make_pair(std::string(key), std::string(value)));
}
// ***** log metadata *****
kj::Array<capnp::word> logger_build_init_data() {
MessageBuilder msg;