Thank you for contacting us.
You can create your own custom log file. You can include every information you want in there.
is a detailed article how you can achieve this.
You can also check out the general programming approach about how to write into the datasource
Let me know if this helps.