-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
ILogger interface has unfortune method void Error([Localizable(false)] string message, Exception exception). It's fine when I pass Exception class, but when I pass any other exception C# compiler choose different method to use: void Error<TArgument>([Localizable(false)] string message, TArgument argument).
The effect is that exception details are not logged. I suggest to change order of parameters and deprecate original method.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels