Partager via


Logger<T>(ILoggerFactory) Constructor

Definition

Creates a new Logger<T>.

public:
 Logger(Microsoft::Extensions::Logging::ILoggerFactory ^ factory);
public Logger (Microsoft.Extensions.Logging.ILoggerFactory factory);
new Microsoft.Extensions.Logging.Logger<'T> : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Logging.Logger<'T>
Public Sub New (factory As ILoggerFactory)

Parameters

factory
ILoggerFactory

The factory.

Applies to