Exemplo n.º 1
0
 /// <summary>
 /// Construct a sink posting to the specified database.
 /// </summary>        
 /// <param name="batchPostingLimit">The maximium 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 XSocketsSink(int batchPostingLimit, TimeSpan period, IFormatProvider formatProvider)
     : base(batchPostingLimit, period)
 {
     _formatProvider = formatProvider;
     _controller = new LogController();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Construct a sink posting to the specified database.
 /// </summary>
 /// <param name="batchPostingLimit">The maximium 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 XSocketsSink(int batchPostingLimit, TimeSpan period, IFormatProvider formatProvider)
     : base(batchPostingLimit, period)
 {
     _formatProvider = formatProvider;
     _controller     = new LogController();
 }