LogError
Method
LogError has 2 overloads.
LogError(string, Exception, Dictionary<string, object>)
Logs an error to the console, nicely formatted.
Parameters
Parameter | Description |
---|---|
string message | The error message |
Exception exception | Optional exception to log |
Dictionary<string, object> data | Optional additional data |
LogError(Exception, Dictionary<string, object>)
Logs an error to the console, nicely formatted.
Parameters
Parameter | Description |
---|---|
Exception exception | The exception to log |
Dictionary<string, object> data | Optional additional data |