[fpc-pascal] SQLDB: logging all generated SQL?

LacaK lacak at zoznam.sk
Thu Apr 26 10:58:51 CEST 2012


>
> Can somebody tell me if that functionality is there and where to find
> it? Perhaps something to do with TSQLConnection.LogEvents?
>
>   
Look into sqldb.pp at TSQLConnection property OnLog or at global 
variable GlobalDBLogHook.
You can register procedure, which will receive log events and you can 
handle them as you want (write to form or into file) ...
Look at sources ... ;-)
L.




More information about the fpc-pascal mailing list