/// <summary> /// Adds the given <see cref="LogLevel"/> string representations to the logger object's <see cref="UltzLogger.LogLevelStrings" />. /// </summary> /// <param name="opts">The logger object to configure.</param> /// <param name="logLevelStrings">The <see cref="LogLevel"/> string representations to add.</param> /// <returns>The instance passed in, for method chaining.</returns> public static IUltzLoggerObject WithLogLevelStrings(this IUltzLoggerObject opts, params (LogLevel, string)[] logLevelStrings)
/// <summary> /// Adds the given <see cref="LogLevel"/>s to the logger object's <see cref="UltzLogger.LogLevels" /> list. /// </summary> /// <param name="opts">The logger object to configure.</param> /// <param name="logLevels">The <see cref="LogLevel"/>s to add.</param> /// <returns>The instance passed in, for method chaining.</returns> public static IUltzLoggerObject WithLogLevels(this IUltzLoggerObject opts, params LogLevel[] logLevels) { opts.LogLevels.AddRange(logLevels); return(opts); }