ILoggerFactory.CreateLogger(String) Method

Definition

Creates a logger with the specified category name.

public Microsoft.Testing.Platform.Logging.ILogger CreateLogger(string categoryName);
abstract member CreateLogger : string -> Microsoft.Testing.Platform.Logging.ILogger
Public Function CreateLogger (categoryName As String) As ILogger

Parameters

categoryName
String

The name of the category for the logger.

Returns

A new instance of the logger.

Applies to