Customizing QxOrm debug output

Forum for posting problems using QxOrm library

Customizing QxOrm debug output

Postby sgiessl » Wed Aug 08, 2012 7:58 pm

Hi,

is there a way to enable/disable the sql query debug output "[QxOrm] sql query (3 ms) : [...]" of qxorm? For my entities this can get extremely crowdy.
I would like to turn these messages off - a run time switch (rather than compile time) would be preferred, to be able to occasionally turn it on again.

Best regards
Sandro
sgiessl
 
Posts: 3
Joined: Wed Aug 01, 2012 8:40 am

Re: Customizing QxOrm debug output

Postby qxorm » Thu Aug 09, 2012 7:24 am

Hi,

is there a way to enable/disable the sql query debug output

You can try this following setting :
Code: Select all
qx::QxSqlDatabase::getSingleton()->setTraceSqlQuery(false);

Using this setting, QxOrm library will not render informations about sql queries in console windows.
For more details about qx::QxSqlDatabase class : http://www.qxorm.com/doxygen/html/class ... abase.html

There is another topic with the same question here ;) :
viewtopic.php?f=2&t=101
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 5 guests