|
#define | k_funcinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
|
#define | k_lineinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
|
KDE debug message streams let you and the user control just how many debug messages you see.
◆ endl() [1/2]
Prints an "\n".
- Parameters
-
s | the debug stream to write to |
- Returns
- the debug stream (
s
)
Definition at line 430 of file kdebug.h.
◆ endl() [2/2]
Does nothing.
- Parameters
-
- Returns
- the given
s
Definition at line 583 of file kdebug.h.
◆ flush() [1/2]
Flushes the stream.
- Parameters
-
s | the debug stream to write to |
- Returns
- the debug stream (
s
)
Definition at line 438 of file kdebug.h.
◆ flush() [2/2]
Does nothing.
- Parameters
-
- Returns
- the given
s
Definition at line 589 of file kdebug.h.
◆ kdBacktrace()
TQString kdBacktrace |
( |
int |
levels = -1 | ) |
|
|
related |
Returns a backtrace.
- Parameters
-
levels | the number of levels of the backtrace. Defaults to -1 (as much as available). |
- Returns
- a backtrace
- Since
- 3.1
Definition at line 805 of file kdebug.cpp.
◆ kdBacktraceFD()
void kdBacktraceFD |
( |
int |
fd = 2 | ) |
|
|
related |
Writes a backtrace to the given file descriptor.
In contrast to kdBacktrace, this function doesn't call any malloc(). So it supposed to be used in situations in which any extra memory allocation may lead to yet another crash. As a limitation it doesn't produce any symbol demangling.
- Parameters
-
fd | a file descriptor to write to. Defaults to 2 (stderr) |
- Since
- 14.0
Definition at line 846 of file kdebug.cpp.
◆ kdClearDebugConfig()
void kdClearDebugConfig |
( |
| ) |
|
|
related |
Deletes the kdebugrc cache and therefore forces KDebug to reread the config file.
Definition at line 857 of file kdebug.cpp.
◆ kdDebug()
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 371 of file kdebug.cpp.
◆ kdError()
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 374 of file kdebug.cpp.
◆ kdFatal()
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 378 of file kdebug.cpp.
◆ kdWarning()
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 376 of file kdebug.cpp.
◆ kndDebug()
Returns a dummy debug stream.
The stream does not print anything.
- Parameters
-
area | an id to identify the output, 0 for default |
- See also
- kdDebug()
Definition at line 624 of file kdebug.h.
◆ operator<<()
template<class T >
kdbgstream & kdbgstream::operator<< |
( |
const TQValueList< T > & |
list | ) |
|
Prints the given value.
- Parameters
-
- Returns
- this stream
- Since
- 3.3
Definition at line 410 of file kdebug.h.