Debug message generators
Classes | |
class | kdbgstream |
kdbgstream is a text stream that allows you to print debug messages. More... | |
class | kndbgstream |
kndbgstream is a dummy variant of kdbgstream. More... | |
Defines | |
#define | k_funcinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
#define | k_lineinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
Typedefs | |
typedef kdbgstream &(* | KDBGFUNC )(kdbgstream &) |
typedef kndbgstream &(* | KNDBGFUNC )(kndbgstream &) |
Functions | |
kdbgstream & | perror (kdbgstream &s) |
kndbgstream & | endl (kndbgstream &s) |
kndbgstream & | flush (kndbgstream &s) |
kndbgstream & | perror (kndbgstream &s) |
kdbgstream | kdDebug (bool cond, int area=0) |
kndbgstream | kndDebug (int area=0) |
kndbgstream | kndDebug (bool, int=0) |
QString | kndBacktrace () |
QString | kndBacktrace (int) |
kdbgstream | kdWarning (bool cond, int area=0) |
kdbgstream | kdError (bool cond, int area=0) |
kdbgstream | kdFatal (bool cond, int area=0) |
kdbgstream & | KGlobal::endl (kdbgstream &s) |
kdbgstream & | KGlobal::flush (kdbgstream &s) |
kdbgstream | KGlobal::kdDebug (int area=0) |
QString | KGlobal::kdBacktrace () |
QString | KGlobal::kdBacktrace (int levels) |
kdbgstream | KGlobal::kdWarning (int area=0) |
kdbgstream | KGlobal::kdError (int area=0) |
kdbgstream | KGlobal::kdFatal (int area=0) |
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.
|
|
Returns a dummy debug stream. The stream does not print anything.
References kndDebug(). Referenced by kndDebug(). |
|
Prints an "\n".
|
|
Flushes the stream.
References kdbgstream::flush(). |
|
Returns a debug stream. You can use it to print debug information.
|
|
Returns a backtrace.
|
|
Returns a backtrace.
References QString::fromLatin1(), and QString::number(). |
|
Returns a warning stream. You can use it to print warning information.
|
|
Returns an error stream. You can use it to print error information.
|
|
Returns a fatal error stream. You can use it to print fatal error information.
|
|
Deletes the kdebugrc cache and therefore forces KDebug to reread the config file. Definition at line 543 of file kdebug.cpp. |