Table of Contents

Interface ILoggerFactory

Namespace
Microsoft.Extensions.Logging
Assembly
nanoFramework.Logging.dll

Represents a type used to configure the logging system and create instances of ILogger from the registered ILoggers.

public interface ILoggerFactory : IDisposable
Inherited Members
Extension Methods

Methods

CreateLogger(string)

Creates a new ILogger instance.

ILogger CreateLogger(string categoryName)

Parameters

categoryName string

The category name for messages produced by the logger.

Returns

ILogger

The ILogger.