Interface ILoggerFactory
Represents a type used to configure the logging system and create instances of ILogger from the registered ILoggers.
Inherited Members
Namespace: Microsoft.Extensions.Logging
Assembly: nanoFramework.Logging.dll
Syntax
public interface ILoggerFactory : IDisposable
Methods
| Improve this Doc View SourceCreateLogger(String)
Creates a new ILogger instance.
Declaration
ILogger CreateLogger(string categoryName)
Parameters
Type | Name | Description |
---|---|---|
String | categoryName | The category name for messages produced by the logger. |
Returns
Type | Description |
---|---|
ILogger | The ILogger. |