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