Example #1
0
 public static void SetSystem(this ILogLevelOptions options, string value) => options.Items[nameof(ILogLevelOptions.System)]       = value;
Example #2
0
 public static void SetMicrosoft(this ILogLevelOptions options, string value) => options.Items[nameof(ILogLevelOptions.Microsoft)] = value;
Example #3
0
 public static void SetDefault(this ILogLevelOptions options, string value) => options.Items[nameof(ILogLevelOptions.Default)]     = value;
Example #4
0
 public static string GetSystem(this ILogLevelOptions options) => options.Items[nameof(ILogLevelOptions.System)];
Example #5
0
 public static string GetMicrosoft(this ILogLevelOptions options) => options.Items[nameof(ILogLevelOptions.Microsoft)];
Example #6
0
 public static string GetDefault(this ILogLevelOptions options) => options.Items[nameof(ILogLevelOptions.Default)];