Skip to content

Commit

Permalink
chore: deps upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Adnan Gohar committed Sep 12, 2023
1 parent bde3a3e commit bbbb54b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions MhLabs.SerilogExtensions/Enrichers/RequestPathEnrichment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ public class RequestPathEnrichment : ILogEventEnricher
public void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)
{
var value = LogValueResolver.Resolve(this);
if (value == default(string)) return; // don't set null values

var property = new LogEventProperty("RequestPath", new ScalarValue(value));
logEvent.AddOrUpdateProperty(property);
}
Expand Down
4 changes: 2 additions & 2 deletions MhLabs.SerilogExtensions/MhLabs.SerilogExtensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>2.0.0</Version>
<Version>2.1.0</Version>
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>MhLabs.SerilogExtensions</PackageId>
Expand All @@ -28,7 +28,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Serilog" Version="3.0.1" />
</ItemGroup>

</Project>

0 comments on commit bbbb54b

Please sign in to comment.