/// <summary>
 /// Add and configure a File log formatter named 'json' to the factory.
 /// </summary>
 /// <param name="builder">The <see cref="ILoggingBuilder"/> to use.</param>
 /// <param name="configure">A delegate to configure the <see cref="FileLogger"/> options for the built-in json log formatter.</param>
 public static ILoggingBuilder AddJsonFile(this ILoggingBuilder builder, Action<JsonFileFormatterOptions> configure)
 {
     return builder.AddFileWithFormatter<JsonFileFormatterOptions>(FileFormatterNames.Json, configure);
 }
 /// <summary>
 /// Add and configure a File log formatter named 'simple' to the factory.
 /// </summary>
 /// <param name="builder">The <see cref="ILoggingBuilder"/> to use.</param>
 /// <param name="configure">A delegate to configure the <see cref="FileLogger"/> options for the built-in default log formatter.</param>
 public static ILoggingBuilder AddSimpleFile(this ILoggingBuilder builder, Action<SimpleFileFormatterOptions> configure)
 {
     return builder.AddFileWithFormatter<SimpleFileFormatterOptions>(FileFormatterNames.Simple, configure);
 }