mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-21 00:29:29 +00:00
Remove null check for flow id in scoped loggers (#15)
This commit is contained in:
@@ -71,7 +71,7 @@ namespace System.Logging
|
||||
|
||||
public static ScopedLogger<T> Create(ILogger<T> logger, string scope, string flowId)
|
||||
{
|
||||
return new ScopedLogger<T>(logger, scope.ThrowIfNull(nameof(scope)), flowId.ThrowIfNull(nameof(flowId)));
|
||||
return new ScopedLogger<T>(logger, scope.ThrowIfNull(nameof(scope)), flowId);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user