aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/stderr_writer.cpp
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commit1f553f46fb4f3c5eec631352cdd900a0709016af (patch)
treea231fba2c03b440becaea6c86a2702d0bfb0336e /library/cpp/lwtrace/stderr_writer.cpp
parentc4de7efdedc25b49cbea74bd589eecb61b55b60a (diff)
downloadydb-1f553f46fb4f3c5eec631352cdd900a0709016af.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/lwtrace/stderr_writer.cpp')
-rw-r--r--library/cpp/lwtrace/stderr_writer.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/lwtrace/stderr_writer.cpp b/library/cpp/lwtrace/stderr_writer.cpp
index 6e5654c3384..8d635d42f6f 100644
--- a/library/cpp/lwtrace/stderr_writer.cpp
+++ b/library/cpp/lwtrace/stderr_writer.cpp
@@ -1,19 +1,19 @@
-#include "stderr_writer.h"
+#include "stderr_writer.h"
#include <util/stream/str.h>
-
-using namespace NLWTrace;
-
+
+using namespace NLWTrace;
+
bool TStderrActionExecutor::DoExecute(TOrbit&, const TParams& params) {
TString ParamValues[LWTRACE_MAX_PARAMS];
- Probe->Event.Signature.SerializeParams(params, ParamValues);
-
+ Probe->Event.Signature.SerializeParams(params, ParamValues);
+
TStringStream ss;
ss << Probe->Event.GetProvider() << "." << Probe->Event.Name;
- for (ui32 i = 0; i < Probe->Event.Signature.ParamCount; ++i) {
+ for (ui32 i = 0; i < Probe->Event.Signature.ParamCount; ++i) {
ss << " " << Probe->Event.Signature.ParamNames[i] << "=" << ParamValues[i];
- }
+ }
ss << "\n";
Cerr << ss.Str();
- return true;
-}
+ return true;
+}