共用方式為


FileResultExecutorBase.CreateLogger<T>(ILoggerFactory) 方法

定義

使用 Factory 建立記錄器。

protected:
generic <typename T>
 static Microsoft::Extensions::Logging::ILogger ^ CreateLogger(Microsoft::Extensions::Logging::ILoggerFactory ^ factory);
protected static Microsoft.Extensions.Logging.ILogger CreateLogger<T> (Microsoft.Extensions.Logging.ILoggerFactory factory);
static member CreateLogger : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Logging.ILogger
Protected Shared Function CreateLogger(Of T) (factory As ILoggerFactory) As ILogger

類型參數

T

要記錄的類型。

參數

傳回

ILogger

適用於