/// <summary> /// Create a new instance of the logger. You typically don't want to call this constructor but rather call the AddElmahIo method. /// </summary> public ElmahIoLogger(HttpClient httpClient, ElmahIoBlazorOptions options) { this.httpClient = httpClient; this.options = options; }
/// <summary> /// Create a new instance using the provided HTTP client and options. /// </summary> public ElmahIoLoggerProvider(HttpClient httpClient, IOptions <ElmahIoBlazorOptions> options) { this.httpClient = httpClient; this.options = options.Value; }