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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for