Is there anyway to enrich all Serilog output with the Method Name.
For Instance consider If I have the following;
Public Class MyClassName
Privat
In outputTemplate for the Serilog , configure for logs to write Properties. Method name will be written as part of ActionName column.
ActionName can also be configured individually (instead of all properties) in outputTemplate.
Configuring Properties/ActionName will write the method name in Namespace.ClassName.MethodName format.