mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-18 22:50:50 +08:00
20 lines
509 B
C#
20 lines
509 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using Microsoft.Extensions.Logging;
|
|
using System.Logging;
|
|
|
|
namespace System;
|
|
|
|
partial class SetupFixture
|
|
{
|
|
public static void ConfigureServices(IServiceCollection services)
|
|
{
|
|
services.AddLogging(l => l.AddProvider(NUnitLoggerProvider.Instance));
|
|
services.Configure<LoggerFilterOptions>(o =>
|
|
{
|
|
o.MinLevel = LogLevel.Trace;
|
|
});
|
|
services.AddPinyin();
|
|
services.AddRepositoryPreferences();
|
|
}
|
|
}
|