aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Ivanov <eivanov89@yandex-team.ru>2022-03-25 11:01:45 +0300
committerEvgeniy Ivanov <eivanov89@yandex-team.ru>2022-03-25 11:01:45 +0300
commit0ae0603c05a3ef41e6adb8e6c57451ca01f2c072 (patch)
treece0581a4481bc2ba33b839b9415fc029e3ab9314
parent4a07b03673d315e0d98c5e29cc9cbeeec1d5c94f (diff)
downloadydb-0ae0603c05a3ef41e6adb8e6c57451ca01f2c072.tar.gz
KIKIMR-9748: print proto event name in trace logs
ref:a57262d9ffc813cbf2eddec17cab8d5cdd1dad2a
-rw-r--r--library/cpp/actors/core/event_pb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/cpp/actors/core/event_pb.h b/library/cpp/actors/core/event_pb.h
index d7546b901a..061e51fa68 100644
--- a/library/cpp/actors/core/event_pb.h
+++ b/library/cpp/actors/core/event_pb.h
@@ -155,7 +155,9 @@ namespace NActors {
}
TString ToString() const override {
- return Record.ShortDebugString();
+ TStringStream ss;
+ ss << ToStringHeader() << " " << Record.ShortDebugString();
+ return ss.Str();
}
bool IsSerializable() const override {