Qt Extended Home · Index · Classes · Headers · Overviews |
The <qlog.h> header enables categorized logging. More...
The <qlog.h> header enables categorized logging.
See also <qtopiadesktoplog.h>.
Register a category for unconditional logging. This enables qLog(CATEGORY).
Register a category for conditional logging. This enables qLog(CATEGORY) but the log messages are not displayed unless CATEGORY is enabled (as determined by FUNCTION.
It is typical to avoid using this macro directly, instead relying on a wrapper define.
bool myCheckFunction( const char *category ); #define MYLOG_OPTION(CATEGORY) QLOG_OPTION(CATEGORY,myCheckFunction(#CATEGORY))
Enable the qLog() macro.
Perform categorized logging against CATEGORY. Note that CATEGORY should have been defined using QLOG_ENABLE, QLOG_OPTION or QLOG_OPTION_VOLATILE.
This is an overloaded member function, provided for convenience.
Perform uncategorized logging. Note that the QLOG_UNCATEGORIZED macro must have been used to enable this.
Copyright © 2009 Trolltech | Qt Extended Sync Agent Documentation |