BatchingLoggerProvider.CreateLogger(String) 方法

定義

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

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

要用來建立此記錄器的類別名稱。The name of the category to create this logger with.

傳回

建立的 Microsoft.Extensions.Logging.AzureAppServices.BatchingLoggerThe Microsoft.Extensions.Logging.AzureAppServices.BatchingLogger that was created.

實作

適用於