roadie/Roadie.Api.Library/Extensions/LoggerExt.cs
2019-07-03 11:21:29 -05:00

12 lines
No EOL
267 B
C#

using System;
namespace Microsoft.Extensions.Logging
{
public static class LoggerExtensions
{
public static void LogError(this ILogger logger, Exception ex)
{
logger.LogError(default(EventId), ex, null, null);
}
}
}