Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Added constructor overload
Browse files Browse the repository at this point in the history
  • Loading branch information
thviQit authored and MiguelAlho committed Jan 16, 2018
1 parent 026301f commit 21d40c4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Serilog.Sinks.Loggly/Sinks/Loggly/LogglySink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ public class LogglySink : PeriodicBatchingSink
/// </summary>
public static readonly TimeSpan DefaultPeriod = TimeSpan.FromSeconds(5);

/// <summary>
/// Construct a sink that saves logs to the specified storage account. Properties are being send as data and the level is used as tag.
/// </summary>
/// <param name="batchSizeLimit">The maximum number of events to post in a single batch.</param>
/// <param name="period">The time to wait between checking for event batches.</param>
/// <param name="formatProvider">Supplies culture-specific formatting information, or null.</param>
public LogglySink(IFormatProvider formatProvider, int batchSizeLimit, TimeSpan period) : this(formatProvider, batchSizeLimit, period, null, null)
{
}

/// <summary>
/// Construct a sink that saves logs to the specified storage account. Properties are being send as data and the level is used as tag.
/// </summary>
Expand Down

0 comments on commit 21d40c4

Please sign in to comment.