Class Logger<T>
- Namespace
- Microsoft.Extensions.Logging
- Assembly
- Microsoft.Extensions.Logging.Abstractions.dll
Delegates to a new ILogger instance using the full name of the given type, created by the provided ILoggerFactory.
public class Logger<T> : ILogger<T>, ILogger
Type Parameters
T
The type.
- Inheritance
-
Logger<T>
- Implements
-
ILogger<T>
- Inherited Members
- Extension Methods
Constructors
Logger(ILoggerFactory)
Creates a new Logger<T>.
public Logger(ILoggerFactory factory)
Parameters
factory
ILoggerFactoryThe factory.