In our MAUI app we set the SentryUser using
SentrySdk.ConfigureScope(scope =>
{
scope.User = new SentryUser
{
Id = userId,
Username = name,
};
});
Whilst I think there are some issues around the way\timing of that being set on the whole it is fine.
We have started looking at using "Logs" in our MAUI app. We never see the Sentry Uer Id or Username set as attributes on our structured logs. The Logs documentation says we just need to ensure SentrySdk.ConfigureScope is being called.
It is.
What are the likely reasons that those values are appearing for Issues and messages (mostly) but never for the logs?