I'm currently adding messages to the log when an error occurs in my plugin.
Now I'm wondering what such a message should contain, to provide useful information to developers and end-users?
Currently my logged errors/warnings look like this:
"functionName": A simple explaination of the error: "$related_var"
"_getUserGroupUsers": No Users found in UserGroups with ID: "1, 2"
Is this something a developer/user checking the logs would find useful, or should more information be passed? If so, what else?
Also are you just logging errors/warnings or also valid operations (something like a StackTrace)?