AddFile(ILoggingBuilder, string)
staticextension
public static ILoggingBuilder AddFile(this ILoggingBuilder builder, string filePathName) Adds file logging with a provider owned by the logging service container.
Parameters
builderILoggingBuilder- The logging builder.
filePathNamestring- The log file path
Returns
The logging builder.
