KDECore
Debug message generators
KDE debug message streams let you and the user control just how many debug messages you see. More...
Detailed Description
KDE debug message streams let you and the user control just how many debug messages you see.Define Documentation
#define k_funcinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
#define k_lineinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
Typedef Documentation
typedef kdbgstream&(* KDBGFUNC)(kdbgstream &) |
typedef kndbgstream&(* KNDBGFUNC)(kndbgstream &) |
Function Documentation
kdbgstream & endl | ( | kdbgstream & | s | ) | [related, inherited] |
kndbgstream& endl | ( | kndbgstream & | s | ) | [inline] |
kdbgstream & flush | ( | kdbgstream & | s | ) | [related, inherited] |
kndbgstream& flush | ( | kndbgstream & | s | ) | [inline] |
QString kdBacktrace | ( | int | levels | ) | [related, inherited] |
Returns a backtrace.
- Parameters:
-
levels the number of levels of the backtrace
- Returns:
- a backtrace
- Since:
- 3.1
Definition at line 561 of file kdebug.cpp.
QString kdBacktrace | ( | ) | [related, inherited] |
void kdClearDebugConfig | ( | ) | [related, inherited] |
Deletes the kdebugrc cache and therefore forces KDebug to reread the config file
Definition at line 591 of file kdebug.cpp.
kdbgstream kdDebug | ( | int | area = 0 |
) | [related, inherited] |
Returns a debug stream. You can use it to print debug information.
- Parameters:
-
area an id to identify the output, 0 for default
- See also:
- kndDebug()
Definition at line 325 of file kdebug.cpp.
kdbgstream kdDebug | ( | bool | cond, | |
int | area = 0 | |||
) |
Definition at line 326 of file kdebug.cpp.
kdbgstream kdError | ( | int | area = 0 |
) | [related, inherited] |
Returns an error stream. You can use it to print error information.
- Parameters:
-
area an id to identify the output, 0 for default
Definition at line 328 of file kdebug.cpp.
kdbgstream kdError | ( | bool | cond, | |
int | area = 0 | |||
) |
Definition at line 329 of file kdebug.cpp.
kdbgstream kdFatal | ( | int | area = 0 |
) | [related, inherited] |
Returns a fatal error stream. You can use it to print fatal error information.
- Parameters:
-
area an id to identify the output, 0 for default
Definition at line 332 of file kdebug.cpp.
kdbgstream kdFatal | ( | bool | cond, | |
int | area = 0 | |||
) |
Definition at line 333 of file kdebug.cpp.
kdbgstream kdWarning | ( | int | area = 0 |
) | [related, inherited] |
Returns a warning stream. You can use it to print warning information.
- Parameters:
-
area an id to identify the output, 0 for default
Definition at line 330 of file kdebug.cpp.
kdbgstream kdWarning | ( | bool | cond, | |
int | area = 0 | |||
) |
Definition at line 331 of file kdebug.cpp.
kndbgstream kndDebug | ( | bool | , | |
int | = 0 | |||
) | [inline] |
kndbgstream kndDebug | ( | int | area = 0 |
) | [inline] |
kdbgstream & kdbgstream::operator<< | ( | const QValueList< T > & | list | ) | [inline, inherited] |
kndbgstream& perror | ( | kndbgstream & | s | ) | [inline] |
kdbgstream& perror | ( | kdbgstream & | s | ) |
Definition at line 324 of file kdebug.cpp.