public AdminPartMiddleware(ISentryClient adminClient, dynamic middleware) { _adminClient = adminClient; _middleware = middleware; }
public void BindClient(ISentryClient client) => ScopeManager.BindClient(client);
/// <summary> /// No-Op. /// </summary> public void BindClient(ISentryClient client) { }
/// <summary> /// Captures the exception. /// </summary> /// <param name="client">The Sentry client.</param> /// <param name="ex">The exception.</param> /// <returns>The Id of the event</returns> public static SentryId CaptureException(this ISentryClient client, Exception ex) { return(!client.IsEnabled ? new SentryId() : client.CaptureEvent(new SentryEvent(ex))); }
public void BindClient(ISentryClient client) => SentryCore.BindClient(client);
public void BindClient(ISentryClient client) => _hub.BindClient(client);
public SentryEventBuilder(ISentryClient client) { _client = client; }
/// <summary> /// Captures the exception. /// </summary> /// <param name="client">The Sentry client.</param> /// <param name="ex">The exception.</param> /// <returns></returns> public static Guid CaptureException(this ISentryClient client, Exception ex) { return(!client.IsEnabled ? Guid.Empty : client.CaptureEvent(new SentryEvent(ex))); }
public ExceptionService(ISentryClient sentryClient) { _sentryClient = sentryClient; }
/// <summary> /// Captures the exception. /// </summary> /// <param name="client">The Sentry client.</param> /// <param name="ex">The exception.</param> /// <returns></returns> public static SentryResponse CaptureException(this ISentryClient client, Exception ex) => client.CaptureEvent(new SentryEvent(ex));