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:
1 parent
f0651a5341
commit
5b520ba241
3 files changed
+5
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user