I want to implement BugCommitBefore in order to process emails and set some fields from the content of incoming error reports.
Is there a way to do some logging? e.g. I don't even know wheter bugevent.sFrom contains email, name, angle brackets, quotes, etc.
I saw that api.Notifications.AddMessage could be a good way to get some debug output, but that won't work for me because I want to work on incoming mails, not on users who edits a case.
Does the plugin system have a logging facility that goes into some text file? That would be great!
BTW: In my scenario (no hosting, local installation, company internal plugin) I'd love to remove the security sandbox restrictions, then I'd just do my logging by appending lines to a text file. But with the sandbox, I see no way of logging, except by setting up a webservice in my network that receives log files and that is too much work