Debug message generators
KDE debug message streams let you and the user control just how many debug messages you see. More...Classes | |
class | kdbgstream |
kdbgstream is a text stream that allows you to print debug messages. More... | |
class | kndbgstream |
Defines | |
#define | k_funcinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
#define | k_lineinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
Typedefs | |
typedef kdbgstream &(* | KDBGFUNC )(kdbgstream &) |
typedef kndbgstream &(* | KNDBGFUNC )(kndbgstream &) |
Functions | |
KDECORE_EXPORT kdbgstream & | perror (kdbgstream &s) |
kndbgstream & | endl (kndbgstream &s) |
kndbgstream & | flush (kndbgstream &s) |
kndbgstream & | perror (kndbgstream &s) |
KDECORE_EXPORT kdbgstream | kdDebug (bool cond, int area=0) |
kndbgstream | kndDebug (int area=0) |
kndbgstream | kndDebug (bool, int=0) |
QString | kndBacktrace () |
QString | kndBacktrace (int) |
KDECORE_EXPORT kdbgstream | kdWarning (bool cond, int area=0) |
KDECORE_EXPORT kdbgstream | kdError (bool cond, int area=0) |
KDECORE_EXPORT kdbgstream | kdFatal (bool cond, int area=0) |
template<class T> | |
kdbgstream & | kdbgstream::operator<< (const QValueList< T > &list) |
kdbgstream & | KGlobal::endl (kdbgstream &s) |
kdbgstream & | KGlobal::flush (kdbgstream &s) |
KDECORE_EXPORT kdbgstream | KGlobal::kdDebug (int area=0) |
KDECORE_EXPORT QString | KGlobal::kdBacktrace () |
KDECORE_EXPORT QString | KGlobal::kdBacktrace (int levels) |
KDECORE_EXPORT kdbgstream | KGlobal::kdWarning (int area=0) |
KDECORE_EXPORT kdbgstream | KGlobal::kdError (int area=0) |
KDECORE_EXPORT kdbgstream | KGlobal::kdFatal (int area=0) |
KDECORE_EXPORT void | KGlobal::kdClearDebugConfig () |
Detailed Description
KDE debug message streams let you and the user control just how many debug messages you see.
Function Documentation
|
|
Does nothing.
Definition at line 589 of file kdebug.h. Referenced by kdbgstream::operator<<(). |
|
Returns a dummy debug stream. The stream does not print anything.
|
|
Prints the given value.
|
|
Prints an "\n".
|
|
Flushes the stream.
Definition at line 438 of file kdebug.h. References kdbgstream::flush(). |
|
Returns a debug stream. You can use it to print debug information.
Definition at line 317 of file kdebug.cpp. |
|
Returns a backtrace.
Definition at line 578 of file kdebug.cpp. |
|
Returns a backtrace.
Definition at line 553 of file kdebug.cpp. |
|
Returns a warning stream. You can use it to print warning information.
Definition at line 322 of file kdebug.cpp. |
|
Returns an error stream. You can use it to print error information.
Definition at line 320 of file kdebug.cpp. |
|
Returns a fatal error stream. You can use it to print fatal error information.
Definition at line 324 of file kdebug.cpp. |
|
Deletes the kdebugrc cache and therefore forces KDebug to reread the config file Definition at line 583 of file kdebug.cpp. |