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