Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Logs Bridge API] Add support for Body set directly on LogRecord for OTLP Exporter. #5268

Merged
merged 16 commits into from
Feb 1, 2024
Prev Previous commit
Next Next commit
fix preprocessor
  • Loading branch information
Yun-Ting committed Jan 27, 2024
commit ed0385f1a72408d6ed84c1c6eaabecdf011c188e
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,6 @@ public void CheckToOtlpLogRecordBodyIsPopulated(bool includeFormattedMessage)
Assert.Equal("state", otlpLogRecord.Body.StringValue);
}

#if NET8_0_OR_GREATER
[Fact]
public void LogRecordBodyIsExportedWhenUsingBridgeApi()
Yun-Ting marked this conversation as resolved.
Show resolved Hide resolved
{
Expand Down Expand Up @@ -621,7 +620,6 @@ public void LogRecordBodyIsExportedWhenUsingBridgeApi()

Assert.Equal("Hello world", otlpLogRecord.Body?.StringValue);
}
#endif

[Fact]
public void CheckToOtlpLogRecordExceptionAttributes()
Expand Down
Loading