BotSharp/src/Infrastructure/BotSharp.Logger/BotSharpLoggerExtensions.cs

13 lines
461 B
C#
Raw Normal View History

2023-11-29 23:23:14 +00:00
namespace BotSharp.Logger;
public static class BotSharpLoggerExtensions
{
public static IServiceCollection AddBotSharpLogger(this IServiceCollection services, IConfiguration config)
{
services.AddScoped<IContentGeneratingHook, CommonContentGeneratingHook>();
services.AddScoped<IContentGeneratingHook, TokenStatsConversationHook>();
2023-11-30 21:03:44 +00:00
services.AddScoped<IContentGeneratingHook, VerboseLogHook>();
2023-11-29 23:23:14 +00:00
return services;
}
}