Files
SystemExtensions/SystemExtensions.NetStandard/Extensions/LoggingExtensions.cs
T
amacocian 721b444dda Scoped logger (#14)
Logging extensions
2022-01-16 15:14:23 +01:00

13 lines
372 B
C#

using Microsoft.Extensions.Logging;
using System.Logging;
namespace System.Extensions
{
public static class LoggingExtensions
{
public static ScopedLogger<T> CreateScopedLogger<T>(this ILogger<T> logger, string methodName, string flowIdentifier)
{
return ScopedLogger<T>.Create(logger, methodName, flowIdentifier);
}
}
}