This commit is contained in:
CortexCore
2024-12-29 17:52:04 +08:00
parent a43901f90c
commit 0b3bb54322
5 changed files with 21 additions and 23 deletions

View File

@@ -51,10 +51,8 @@ namespace Net.Like.Xue.Tokyo
serviceCollection.AddSingleton<IServiceCollection>(serviceCollection);
serviceCollection.AddSingleton<ILoggerProvider, UnityLoggerProvider>();
serviceCollection.AddTransient<ILogger, UnityLogger>();
serviceCollection.AddLogging();
serviceCollection.AddTransient(typeof(ILogger<>),typeof( UnityLogger<>));
serviceCollection.AddSingleton(serviceCollection);
//玩家角色控制器服务