Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Construct a sink that saves logs to the specified storage account.
 /// </summary>
 public ElmahIoSink(ElmahIoSinkOptions options)
     : base(options.BatchPostingLimit, options.Period)
 {
     _options = options;
 }