Skip to content

More consistent logging practice

Simon Brooke edited this page Apr 10, 2018 · 1 revision

Logging has been added ad-hoc over time. Consequently the format of logging messages is not consistent; nor even is their ranking consistent. For example, the method CrmRestServer.LogRequest logs a string with the prefix Payload: where the string is exactly the URL-encoded payload to be transmitted to the server, while the method CrmRestServer.CreatePostRequest logs a string with the prefix Payload (not, no colon) where the payload is URL decoded before printing. This sort of inconsistency wastes a great deal of time.

Clone this wiki locally