FileResultExecutorBase.CreateLogger<T>(ILoggerFactory) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- factory
- ILoggerFactory
The ILoggerFactory.
Returns
An ILogger.