TestingUtils.ConfigureDefaultLoggingBuilder(ILoggingBuilder, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.