SetUser() public static method

public static SetUser ( string userId, string userName, string userEmail ) : void
userId string
userName string
userEmail string
return void
Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     Bugsnag.Context      = null;
     Bugsnag.ReleaseStage = null;
     Bugsnag.AddToTab(null, null, null);
     Bugsnag.AddToTab("My Data", "myKey", "myValue");
     Bugsnag.ClearTab(null);
     Bugsnag.SetUser("user-id", "User Name", "*****@*****.**");
     Bugsnag.ReleaseStage = "staging";
     Bugsnag.AppVersion   = "1.2.3-alpha";
     Bugsnag.NotifyLevel  = Bugsnag.LogSeverity.Warning;
 }
 // Use this for initialization
 void Start()
 {
     Bugsnag.Context      = null;
     Bugsnag.ReleaseStage = null;
     Bugsnag.AddToTab(null, null, null);
     Bugsnag.AddToTab("My Data", "myKey", "myValue");
     Bugsnag.ClearTab(null);
     Bugsnag.SetUser("user-id", "User Name", "*****@*****.**");
     Bugsnag.ReleaseStage = "staging";
     Bugsnag.AppVersion   = "1.2.3-alpha";
     Bugsnag.NotifyLevel  = Bugsnag.LogSeverity.Warning;
     Bugsnag.SessionUrl   = "http://127.0.0.1:8092";
     Bugsnag.StartSession();
     Bugsnag.SetAutoCaptureSessions(true);
 }