FileResultExecutorBase.CreateLogger<T>(ILoggerFactory) 方法

定义

使用工厂创建记录器。

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

适用于