BatchingLoggerProvider 類別

定義

Microsoft.Extensions.Logging.AzureAppServices.BatchingLogger 執行個體的提供者。A provider of Microsoft.Extensions.Logging.AzureAppServices.BatchingLogger instances.

public ref class BatchingLoggerProvider abstract : IDisposable, Microsoft::Extensions::Logging::ILoggerProvider, Microsoft::Extensions::Logging::ISupportExternalScope
public abstract class BatchingLoggerProvider : IDisposable, Microsoft.Extensions.Logging.ILoggerProvider, Microsoft.Extensions.Logging.ISupportExternalScope
type BatchingLoggerProvider = class
    interface ILoggerProvider
    interface IDisposable
    interface ISupportExternalScope
Public MustInherit Class BatchingLoggerProvider
Implements IDisposable, ILoggerProvider, ISupportExternalScope
繼承
BatchingLoggerProvider
衍生
實作

屬性

IsEnabled

檢查是否已啟用佇列。Checks if the queue is enabled.

方法

CreateLogger(String)

使用指定的 categoryName 建立 Microsoft.Extensions.Logging.AzureAppServices.BatchingLoggerCreates a Microsoft.Extensions.Logging.AzureAppServices.BatchingLogger with the given categoryName.

Dispose()
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
IntervalAsync(TimeSpan, CancellationToken)

等待指定的 TimeSpanWait for the given TimeSpan.

MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

明確介面實作

ISupportExternalScope.SetScopeProvider(IExternalScopeProvider)

設定此提供者的範圍。Sets the scope on this provider.

適用於