aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/event.h
diff options
context:
space:
mode:
authorserxa <serxa@yandex-team.ru>2022-02-10 16:49:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:08 +0300
commite5d4696304c6689379ac7ce334512404d4b7836c (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/lwtrace/event.h
parentd6d7db348c2cc64e71243cab9940ee6778f4317d (diff)
downloadydb-e5d4696304c6689379ac7ce334512404d4b7836c.tar.gz
Restoring authorship annotation for <serxa@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lwtrace/event.h')
-rw-r--r--library/cpp/lwtrace/event.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/library/cpp/lwtrace/event.h b/library/cpp/lwtrace/event.h
index 417ec823d82..e53a620c456 100644
--- a/library/cpp/lwtrace/event.h
+++ b/library/cpp/lwtrace/event.h
@@ -1,29 +1,29 @@
-#pragma once
-
+#pragma once
+
#include "preprocessor.h"
-#include "signature.h"
+#include "signature.h"
#include "param_traits.h"
#include <library/cpp/lwtrace/protos/lwtrace.pb.h>
-
-namespace NLWTrace {
- // Common class for all events
- struct TEvent {
- const char* Name;
- const char* Groups[LWTRACE_MAX_GROUPS + 1];
- TSignature Signature;
-
- const char* GetProvider() const {
- return Groups[0];
- }
-
- void ToProtobuf(TEventPb& pb) const {
- pb.SetName(Name);
- for (const char* const* gi = Groups; *gi != nullptr; gi++) {
- pb.AddGroups(*gi);
- }
- Signature.ToProtobuf(pb);
- }
- };
-
-}
+
+namespace NLWTrace {
+ // Common class for all events
+ struct TEvent {
+ const char* Name;
+ const char* Groups[LWTRACE_MAX_GROUPS + 1];
+ TSignature Signature;
+
+ const char* GetProvider() const {
+ return Groups[0];
+ }
+
+ void ToProtobuf(TEventPb& pb) const {
+ pb.SetName(Name);
+ for (const char* const* gi = Groups; *gi != nullptr; gi++) {
+ pb.AddGroups(*gi);
+ }
+ Signature.ToProtobuf(pb);
+ }
+ };
+
+}