BackgroundSink(ILogEventSink, Nullable<Int32>) Constructor

Definition

Creates a new instance of the BackgroundSink class.

public:
 BackgroundSink(Serilog::Core::ILogEventSink ^ innerSink, Nullable<int> maxQueueSize);
public BackgroundSink (Serilog.Core.ILogEventSink innerSink, int? maxQueueSize);
new Microsoft.Extensions.Logging.AzureAppServices.Internal.BackgroundSink : Serilog.Core.ILogEventSink * Nullable<int> -> Microsoft.Extensions.Logging.AzureAppServices.Internal.BackgroundSink
Public Sub New (innerSink As ILogEventSink, maxQueueSize As Nullable(Of Integer))

Parameters

innerSink
ILogEventSink

The inner sink which does the actual logging.

maxQueueSize
Nullable<Int32>

The maximum size of the background queue.

Remarks

This API supports the .NET infrastructure and is not intended to be used directly from your code.

Applies to