DebugLoggerFactoryExtensions.AddDebug Metodo

Definizione

Overload

AddDebug(ILoggerFactory)
Obsoleta.

Aggiunge un logger di debug abilitato per LogLevel.Information o un livello superiore.

AddDebug(ILoggingBuilder)

Aggiunge un logger di debug denominato 'Debug' alla factory.

AddDebug(ILoggerFactory, LogLevel)
Obsoleta.

Aggiunge un logger di debug abilitato per LogLevel minLevel o un livello superiore.

AddDebug(ILoggerFactory, Func<String,LogLevel,Boolean>)
Obsoleta.

Aggiunge un logger di debug abilitato come definito dalla funzione di filtro.

AddDebug(ILoggerFactory)

Attenzione

This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).

Aggiunge un logger di debug abilitato per LogLevel.Information o un livello superiore.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddDebug(Microsoft::Extensions::Logging::ILoggerFactory ^ factory);
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")]
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory);
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Logging.ILoggerFactory
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")>]
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddDebug (factory As ILoggerFactory) As ILoggerFactory

Parametri

factory
ILoggerFactory

Argomento del metodo di estensione.

Restituisce

ILoggerFactory
Attributi

Si applica a

AddDebug(ILoggingBuilder)

Aggiunge un logger di debug denominato 'Debug' alla factory.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddDebug(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddDebug (this Microsoft.Extensions.Logging.ILoggingBuilder builder);
static member AddDebug : Microsoft.Extensions.Logging.ILoggingBuilder -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddDebug (builder As ILoggingBuilder) As ILoggingBuilder

Parametri

builder
ILoggingBuilder

Argomento del metodo di estensione.

Restituisce

ILoggingBuilder

Si applica a

AddDebug(ILoggerFactory, LogLevel)

Attenzione

This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).

Aggiunge un logger di debug abilitato per LogLevel minLevel o un livello superiore.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddDebug(Microsoft::Extensions::Logging::ILoggerFactory ^ factory, Microsoft::Extensions::Logging::LogLevel minLevel);
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory, Microsoft.Extensions.Logging.LogLevel minLevel);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")]
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory, Microsoft.Extensions.Logging.LogLevel minLevel);
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Logging.LogLevel -> Microsoft.Extensions.Logging.ILoggerFactory
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")>]
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Logging.LogLevel -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddDebug (factory As ILoggerFactory, minLevel As LogLevel) As ILoggerFactory

Parametri

factory
ILoggerFactory

Argomento del metodo di estensione.

minLevel
LogLevel

Valore minimo LogLevel da registrato.

Restituisce

ILoggerFactory
Attributi

Si applica a

AddDebug(ILoggerFactory, Func<String,LogLevel,Boolean>)

Attenzione

This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).

Aggiunge un logger di debug abilitato come definito dalla funzione di filtro.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddDebug(Microsoft::Extensions::Logging::ILoggerFactory ^ factory, Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ filter);
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory, Func<string,Microsoft.Extensions.Logging.LogLevel,bool> filter);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")]
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory, Func<string,Microsoft.Extensions.Logging.LogLevel,bool> filter);
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory * Func<string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggerFactory
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")>]
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory * Func<string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddDebug (factory As ILoggerFactory, filter As Func(Of String, LogLevel, Boolean)) As ILoggerFactory

Parametri

factory
ILoggerFactory

Argomento del metodo di estensione.

filter
Func<String,LogLevel,Boolean>

Funzione usata per filtrare gli eventi in base al livello di registrazione.

Restituisce

ILoggerFactory
Attributi

Si applica a