/// <summary>
 /// Adds a browser console logger that is enabled for <see cref="LogLevel"/>s of minLevel or higher.
 /// </summary>
 /// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
 /// <param name="minLevel">The minimum <see cref="LogLevel"/> to be logged</param>
 public static ILoggerFactory AddBrowserConsole(this ILoggerFactory factory, LogLevel minLevel)
 {
     factory.AddBrowserConsole((category, logLevel) => logLevel >= minLevel);
     return(factory);
 }
 /// <summary>
 /// Adds a console logger that is enabled for <see cref="LogLevel"/>.Information or higher.
 /// </summary>
 /// <param name="factory">The <see cref="ILoggerFactory"/> to use.</param>
 public static ILoggerFactory AddBrowserConsole(this ILoggerFactory factory)
 {
     return(factory.AddBrowserConsole(LogLevel.Information));
 }