Skip to content

Commit

Permalink
Closes #60
Browse files Browse the repository at this point in the history
TIDY: Move Log enricher into infrastructure project
  • Loading branch information
mtracewicz committed Sep 11, 2024
1 parent 9d4de18 commit c25c17e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.OpenApi.Models;
using Serilog;
using System.Security.Cryptography;
using api;
using infrastructure.Logging;
using infrastructure.Data;
using infrastructure.Keycloak;
using core.Ports;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using Microsoft.AspNetCore.Http;
using Serilog;
using Serilog.Configuration;
using Serilog.Core;
using Serilog.Events;

namespace api;
namespace infrastructure.Logging;

public static class LoggingExtensions
{
Expand Down
1 change: 1 addition & 0 deletions backend/src/infrastructure/infrastructure.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit c25c17e

Please sign in to comment.