/// <summary> /// Construct a sink that saves logs to the specified logger. The purpose of this /// constructor is to re-use an existing client from ELMAH or similar. /// </summary> public ElmahIoSink(ElmahIoSinkOptions options, IElmahioAPI client) : this(options) { _client = client; }
/// <summary> /// Construct a sink that saves logs to the specified storage account. /// </summary> public ElmahIoSink(ElmahIoSinkOptions options) : base(options.BatchPostingLimit, options.Period) { _options = options; }