baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Infrastructure
|
||||
{
|
||||
public static class SkynetLoggerExtensions
|
||||
{
|
||||
public static IServiceCollection AddSkynetLogger(this IServiceCollection services)
|
||||
{
|
||||
services.TryAddSingleton(typeof(ILogger<>), typeof(SkynetLogger<>));
|
||||
return services;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user