Interface ILoggerProvider
- Namespace
- Microsoft.Extensions.Logging
- Assembly
- Microsoft.Extensions.Logging.Abstractions.dll
Represents a type that can create instances of ILogger.
public interface ILoggerProvider : IDisposable
- Inherited Members
Methods
CreateLogger(string)
Creates a new ILogger instance.
ILogger CreateLogger(string categoryName)
Parameters
categoryName
stringThe category name for messages produced by the logger.