forked from salesagility/SuiteCRM-Outlook-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
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.
This design is, at this moment, © 2018 Simon Brooke, subject to discussion with SalesAgility.