Main Page Modules Compound List File List Compound Members File Members

# Debugging and tracing

## Defines
#define | XklDebug(level, format, args...) _XklDebug( __FILE__, __func__, level, format, ## args )
## Functions
void | _XklDebug (const char file[], const char function[], int level, const char format[],...)
void | XklSetDebugLevel (int level)

## Define Documentation

#define XklDebug | ( | level,
|  | format,
|  | args... |  | ) | _XklDebug( __FILE__, __func__, level, format, ## args )

  | Output (optionally) some debug info Parameters:
  level | is a level of the message
  format | is a format (like in printf)
See also: _XklDebug

## Function Documentation

void _XklDebug | ( | const char | file[],
|  | const char | function[],
|  | int | level,
|  | const char | format[],
|  | ... |
| ) |

  | Output (optionally) some debug info Parameters:
  file | is the name of the source file. Preprocessor symbol__FILE__ should be used here
  function | is a name of the function Preprocessor symbol__func__ should be used here
  level | is a level of the message
  format | is a format (like in printf)
See also: XklDebug

void XklSetDebugLevel | ( | int | level | ) |

  | Sets maximum debug level. Message of the level more than the one set here - will be ignored Parameters:
  level | is a new debug level