Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorg.kesyan committed Feb 1, 2024
1 parent 6eacb24 commit c848885
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public static IServiceCollection AddDirectToLokiLogging(this IServiceCollection

configureHttp(services);

services.AddLogging(b => b.ClearProviders().SetMinimumLevel(LogLevel.Trace));
services.TryAddSingleton(x => new JsonValueFormatter(Constants.TypeTagName));
services.TryAddSingleton<ITextFormatter, LokiMessageFormatter>();
services.TryAddSingleton<ILokiBatchFormatter, LokiBatchFormatter>();
Expand Down

0 comments on commit c848885

Please sign in to comment.