Dela via


FileResultExecutorBase.CreateLogger<T>(ILoggerFactory) Method

Definition

Creates a logger using the 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

Type Parameters

T

The type being logged.

Parameters

Returns

An ILogger.

Applies to