| 126 | } |
| 127 | |
| 128 | void TYsonTraceConsumer::WriteArgs(const TEventArgs& args) { |
| 129 | Yson.OnKeyedItem(TStringBuf("args")); |
| 130 | Yson.OnBeginMap(); |
| 131 | for (const auto& item : args.Items) { |
| 132 | Yson.OnKeyedItem(item.Name); |
| 133 | std::visit(TWriteArg{&Yson}, item.Value); |
| 134 | } |
| 135 | Yson.OnEndMap(); |
| 136 | } |
| 137 | |
| 138 | void TYsonTraceConsumer::WriteFlow(const TEventFlow& flow) { |
| 139 | if (flow.Type == EFlowType::None) { |
nothing calls this directly
no test coverage detected