Additional extension to scoped logger

This commit is contained in:
2024-08-21 11:25:57 +02:00
parent 8a58a6e9a3
commit ec343797b4
2 changed files with 6 additions and 1 deletions
@@ -9,4 +9,9 @@ public static class LoggingExtensions
{
return ScopedLogger<T>.Create(logger, methodName, flowIdentifier);
}
public static ScopedLogger<T> CreateScopedLogger<T>(this ILogger<T> logger, string methodName)
{
return ScopedLogger<T>.Create(logger, methodName, string.Empty);
}
}
@@ -7,7 +7,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RootNamespace>System</RootNamespace>
<Version>1.6.4</Version>
<Version>1.6.5</Version>
<Authors>Alexandru Macocian</Authors>
<RepositoryUrl>https://github.com/AlexMacocian/SystemExtensions</RepositoryUrl>
<Description>Extensions for the System namespace</Description>