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);
}
}