「Unity/sentry/ユーザ名設定」の版間の差分
提供: 初心者エンジニアの簡易メモ
| 行6: | 行6: | ||
{ | { | ||
Username = "name1", | Username = "name1", | ||
| − | Id = 1234, | + | Id = "1234", |
Other = | Other = | ||
{ | { | ||
| − | { "age", 20 } | + | { "age", "20" } |
} | } | ||
}; | }; | ||
}); | }); | ||
</pre> | </pre> | ||
2023年8月11日 (金) 20:20時点における版
using Sentry;
SentrySdk.ConfigureScope(scope =>
{
scope.User = new Sentry.User
{
Username = "name1",
Id = "1234",
Other =
{
{ "age", "20" }
}
};
});
