Skip to content

InMemoryLoggerProvider.CreateLogger(string)

CreateLogger(string)

View source
public ILogger CreateLogger(string categoryName)
Creates a new Microsoft.Extensions.Logging.ILogger instance.

Parameters

categoryNamestring
The category name for messages produced by the logger.

Returns

The instance of Microsoft.Extensions.Logging.ILogger that was created.