OnInvalidUserCode(ref CallerInfo, string, params object[])
Method invoked when the user code calling Logger or LogActivity is invalid, e.g. when the formatting string is incorrect or does not match the arguments.
Declaration
void OnInvalidUserCode(ref 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. |