mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-04-22 22:22:51 +08:00
Tk (#99)
* chore: 🔨 css 基础单位 [skip ci] * fix: 🐛 ca2263 System.Enum.GetValues<TEnum>() [skip ci]
This commit is contained in:
parent
d052e43b86
commit
1dc953a2b2
@ -105,8 +105,7 @@ public static class ServiceCollectionExtensions
|
|||||||
public static IServiceCollection AddConsoleFormatter(this IServiceCollection me)
|
public static IServiceCollection AddConsoleFormatter(this IServiceCollection me)
|
||||||
{
|
{
|
||||||
return me.AddConsoleFormatter(options => {
|
return me.AddConsoleFormatter(options => {
|
||||||
var logLevels = Enum.GetValues(typeof(LogLevels))
|
var logLevels = Enum.GetValues<LogLevels>()
|
||||||
.Cast<LogLevels>()
|
|
||||||
.ToDictionary(x => x, x => x.GetDisplay());
|
.ToDictionary(x => x, x => x.GetDisplay());
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user