Feature Requests
Share ideas, discuss and vote on requests from other users in community
This object is in archive! 

Extend LogActivity function so it can indicate where it was called from

WHMCS Lawrence shared this idea 4 years ago
Under Consideration

One issue with the logActivity function is that addons can use it and not indicate where it was called from (the PHP file), so it can be hard to debug issues with addons if they log a generic message such as "Something happened" and don't include a file name or addon name, especially if they are encoded and source isn't accessible.

Perhaps a way to turn on debugging and determine the source of the function call would be helpful?