OpenSourcePFCLibraries / 2019

The open source PowerBuilder Foundation Class libraries for Appeon PowerBuilder 2019
MIT License
18 stars 29 forks source link

n_cst_debug.of_openjson #29

Open avojacek opened 3 years ago

avojacek commented 3 years ago

Hi all, this is no question, this is about asking how is ment of_openjson in n_cst_debug? We are using pfcs in our applications. We are already in process of upgrading from PB12 to PB21 and because this is some word and i'm returning from .NET dev to some PB, I wanted to add some logging into our apps. What is in n_cst_debug is a least something, but it does not log into file. I found of_openjson and hoped that this can save log into file, bud I do not know for what was this function ment. Simply create n_cst_json and call this method ends with error, so it seems that I'm missing something.

Are there some logging possibilies in PFC/PB like log4net or even better Serilog known from .NET? Thank you a lot Ales

TABUllrich commented 3 years ago

I think function of_OpenJSON is to debug the content of a json file.

The Debug service only logs into a datastore (ids_debuglog). You could add a function to export the datastore into a file.