Bewerken

Delen via


TestingUtils.ConfigureDefaultLoggingBuilder(ILoggingBuilder, String) Method

Definition

Configure builder with a FileLoggerProvider which logs to filePath by default;

public static void ConfigureDefaultLoggingBuilder (Microsoft.Extensions.Logging.ILoggingBuilder builder, string filePath);
static member ConfigureDefaultLoggingBuilder : Microsoft.Extensions.Logging.ILoggingBuilder * string -> unit
Public Shared Sub ConfigureDefaultLoggingBuilder (builder As ILoggingBuilder, filePath As String)

Parameters

builder
ILoggingBuilder

The builder.

filePath
String

The file path.

Applies to