-
Notifications
You must be signed in to change notification settings - Fork 484
Closed
Description
Hi,
I just discovered a rather annoying issue in the SerilogLogger implementation.
Calling
Fatal(string messageTemplate, Exception exception)
delegates to
Logger.Fatal(string messageTemplate, params object[] propertyValues)
which essentially makes the exception dissapear.
I've just hunted down this bug, and can confirm that FatalFormat(Exception exception, string format) works correctly.
I would guess a simple switch in the parameters would make it work as intended, but I'm not sure.
Basically I'm guessing there might be some issues with the current ILogger interface for supporting Serilog's semantic logging?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels