OnInvalidUserCode(in CallerInfo, string, params object[])
Method invoked when the user code calling a logging infrastructure method is invalid, e.g. when the formatting string is incorrect or does not match the arguments.
Declaration
void OnInvalidUserCode(in CallerInfo callerInfo, string format, params object[] args)Parameters
| Type | Name | Description |
|---|---|---|
| CallerInfo | callerInfo | Information about the line of code causing the error. |
| string | format | Formatting string of the error message. |
| object[] | args | Arguments. |