| 290 | } |
| 291 | |
| 292 | void LogPushData::addTransactionInfo(SpanContext const& context) { |
| 293 | CODE_PROBE(!spanContext.isValid(), "addTransactionInfo with invalid SpanContext"); |
| 294 | spanContext = context; |
| 295 | writtenLocations.clear(); |
| 296 | } |
| 297 | |
| 298 | void LogPushData::writeMessage(StringRef rawMessageWithoutLength, bool usePreviousLocations) { |
| 299 | if (!usePreviousLocations) { |
no test coverage detected