Compartilhar via


FileLoggerProviderExtensions.AddFile(ILoggingBuilder, String) Método

Definição

Adicionado FileLoggerProvider a builder

public static Microsoft.Extensions.Logging.ILoggingBuilder AddFile (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string filePathName);
static member AddFile : Microsoft.Extensions.Logging.ILoggingBuilder * string -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddFile (builder As ILoggingBuilder, filePathName As String) As ILoggingBuilder

Parâmetros

builder
ILoggingBuilder

O construtor de registro em log.

filePathName
String

O caminho do arquivo de log

Retornos

O construtor de registro em log.

Aplica-se a