LoggerProvider LoggerProvider Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class LoggerProvider : ILoggerProviderPublic Class LoggerProvider
    Inherits ILoggerProvider

Inheritance Hierarchy

  • System.Object
    System.Object
  • LoggerProvider
    LoggerProvider

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • LoggerProvider(Func<String, ILogger>)
    LoggerProvider(Func(Of String, ILogger))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public LoggerProvider(Func<string, ILogger> creator)Public Sub New(creator As Func(Of String, ILogger))

    Parameters

    • creator
      System.Func<T, TResult><System.String, ILogger>
      System.Func<T, TResult>(Of System.String, ILogger)

Methods

  • CreateLogger(String)
    CreateLogger(String)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual ILogger CreateLogger(string categoryName)Public Overridable Function CreateLogger(categoryName As String) As ILogger

    Parameters

    • categoryName
      System.String
      System.String

    Returns

    • ILogger
      ILogger
  • Dispose()
    Dispose()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void Dispose()Public Overridable Sub Dispose

Details

Assembly

Microsoft.EntityFrameworkCore.Design.dll