mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-23 19:46:26 +00:00
Additional extension to scoped logger
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user