cleanup: Get rid of custom fmt::formatter for security proto

Security proto objects are large, so we shouldn't pass them by value to
the log system. The custom formatter's presence makes this easy to do by
accident.
This commit is contained in:
John Colvin committed 2025-02-23 19:05:42 +00:00
1 parent f0651a5341
commit 5b520ba241
3 files changed
+5 -5

No files matched your search

+3 -1
View File
@@ -295,7 +295,9 @@ bool SecurityCache::add_live_security(const SecurityPtr &security) {
return is_new_sec;
});
if (is_new_sec) {
INFO_FN("add_live_security", "new security: {}", *security);
INFO_FN(
"add_live_security", "new security: {}",
bts::securities::descriptor(*security));
}
return is_new_sec;
}