public ExceptionConverter(BugsnagClient client) { if (client == null) { throw new ArgumentNullException("client"); } this.client = client; }
public StateReporter(BugsnagClient client, Context ctx) { if (client == null) throw new ArgumentNullException ("client"); if (ctx == null) throw new ArgumentNullException ("ctx"); this.client = client; this.ctx = ctx; }
public StateReporter(BugsnagClient client, Context ctx) { if (client == null) { throw new ArgumentNullException("client"); } if (ctx == null) { throw new ArgumentNullException("ctx"); } this.client = client; this.ctx = ctx; }
public Notifier(BugsnagClient client, string cacheDir) { if (client == null) { throw new ArgumentNullException("client"); } if (cacheDir == null) { throw new ArgumentNullException("cacheDir"); } this.client = client; this.cacheDir = cacheDir; }
public override void OnCreate() { base.OnCreate (); if (bugsnagClient == null) { // create new BugsnagClient which will monitor for errors and send them to the server bugsnagClient = new BugsnagClient (this, "MY-BUGSNAG-APIKEY-HERE") { DeviceId = GetInstalId (), ProjectNamespaces = new List<string> () { "Sample." }, // By default Android library can guess the release stage between "production" and "development" // ReleaseStage = "development", }; } // You can associate errors with a specific user, if you want bugsnagClient.SetUser ("1234", "*****@*****.**", "John Doe"); }