Show / Hide Table of Contents

    Interface ILoggerFactory

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

    Inherited Members
    IDisposable.Dispose()
    Namespace: Microsoft.Extensions.Logging
    Assembly: nanoFramework.Logging.dll
    Syntax
    public interface ILoggerFactory : IDisposable

    Methods

    | Improve this Doc View Source

    CreateLogger(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.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX