共用方式為


BatchingLoggerProvider.CreateLogger(String) 方法

定義

使用指定的 categoryName 建立 Microsoft.Extensions.Logging.AzureAppServices.Internal.BatchingLogger

public:
 virtual Microsoft::Extensions::Logging::ILogger ^ CreateLogger(System::String ^ categoryName);
public Microsoft.Extensions.Logging.ILogger CreateLogger (string categoryName);
abstract member CreateLogger : string -> Microsoft.Extensions.Logging.ILogger
override this.CreateLogger : string -> Microsoft.Extensions.Logging.ILogger
Public Function CreateLogger (categoryName As String) As ILogger

參數

categoryName
String

要用來建立此記錄器的類別名稱。

傳回

建立的 Microsoft.Extensions.Logging.AzureAppServices.Internal.BatchingLogger

實作

適用於