BackgroundSink(ILogEventSink, Nullable<Int32>) 构造函数

定义

创建 BackgroundSink 类的新实例。

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))

参数

innerSink
ILogEventSink

执行实际日志记录的内部接收器。

maxQueueSize
Nullable<Int32>

后台队列的最大大小。

注解

此 API 支持 .NET 基础结构,不应直接从代码中使用。

适用于