Hi Argel;
Please feel free to use the logging code from my free & open source STD Framework. It can perform logging for PB Native, Appeon Web (PS2020) and Appeon Mobile Apps as well as the new PowerClient and PowerServer 2021 based App types as well.
Here is an actual example of a PS2020 Web based App's logging ...
Latest Framework: http://chrispollach.blogspot.com/2022/03/stdfc.html
Note: You will need to use the PB2019R3 version of the framework (Archive folder on Sourceforge) for PS2020 as the Web and Mobile features in PS2020 no longer exist in PB/PS2021. So my PB2021 version of the framework has now removed all the Appeon Web and Appeon Mobile (PS2020) features.
Let me know if you need help locating the App Logging code.
Regards ... Chris