I used to log only error message and did not get any error:
Logger.LogCritical(string.Format("error occurred: {0}", ex.Message));
But I'm not sure what is missing in the following:
Logger.LogCritical(-1, ex, string.Format("error occurred: {0}", ex.Message));
Posted On:
17-Oct-2020 05:39