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