public void Configure(AirbrakeOptions options) { var serverUrl = options.Url; var projectId = options.ProjectId; var projectKey = options.ProjectKey; this.Configure(serverUrl, projectId, projectKey); }
public AirbrakeClient( ILoggerFactory loggerFactory, AirbrakeOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } this.log = loggerFactory.CreateLogger <AirbrakeClient>(); this.Configure(options); }