ListLoggerFactory ListLoggerFactory Class

Syntax

Declaration

public class ListLoggerFactory : ILoggerFactoryPublic Class ListLoggerFactory
    Inherits ILoggerFactory

Inheritance Hierarchy

  • System.Object
    System.Object
  • ListLoggerFactory
    ListLoggerFactory

Constructors summary

Methods summary

Constructors

  • ListLoggerFactory(List<Tuple<LogLevel, String>>)
    ListLoggerFactory(List(Of Tuple(Of LogLevel, String)))
    public ListLoggerFactory(List<Tuple<LogLevel, string>> log)Public Sub New(log As List(Of Tuple(Of LogLevel, String)))

    Parameters

    • log
      System.Collections.Generic.List<T><System.Tuple`2<System.LogLevel, System.String>>
      System.Collections.Generic.List<T>(Of System.Tuple`2(Of System.LogLevel, System.String))
  • ListLoggerFactory(List<Tuple<LogLevel, String>>, Func<String, Boolean>)
    ListLoggerFactory(List(Of Tuple(Of LogLevel, String)), Func(Of String, Boolean))
    public ListLoggerFactory(List<Tuple<LogLevel, string>> log, Func<string, bool> shouldCreateLogger)Public Sub New(log As List(Of Tuple(Of LogLevel, String)), shouldCreateLogger As Func(Of String, Boolean))

    Parameters

    • log
      System.Collections.Generic.List<T><System.Tuple`2<System.LogLevel, System.String>>
      System.Collections.Generic.List<T>(Of System.Tuple`2(Of System.LogLevel, System.String))
    • shouldCreateLogger
      System.Func<T, TResult><System.String, System.Boolean>
      System.Func<T, TResult>(Of System.String, System.Boolean)

Methods

  • AddProvider(ILoggerProvider)
    AddProvider(ILoggerProvider)
    public void AddProvider(ILoggerProvider provider)Public Sub AddProvider(provider As ILoggerProvider)

    Parameters

    • provider
      ILoggerProvider
      ILoggerProvider
  • CreateLogger(String)
    CreateLogger(String)
    public ILogger CreateLogger(string name)Public Function CreateLogger(name As String) As ILogger

    Parameters

    • name
      System.String
      System.String

    Returns

    • ILogger
      ILogger
  • Dispose()
    Dispose()
    public void Dispose()Public Sub Dispose

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll