add warnings

This commit is contained in:
Anton Suhorukov 2022-05-16 13:12:11 +03:00
parent e6161e83ce
commit 901e82b3af

View File

@ -38,4 +38,10 @@ public static partial class CommonLogger
[LoggerMessage(Level = LogLevel.Information)]
public static partial void Information(this ILogger logger, string message);
[LoggerMessage(Level = LogLevel.Warning)]
public static partial void Warning(this ILogger logger, string message);
[LoggerMessage(Level = LogLevel.Warning)]
public static partial void WarningWithException(this ILogger logger, Exception exception);
}