Debug library for instrumentation a.k.a printf debugging

Dependents:   pyrocommander Projektni_zadatak_Analogni_sat ProjetOctopode

Embed: (wiki syntax)

« Back to documentation index

debug.h File Reference

debug.h File Reference

Go to the source code of this file.

Functions

static void debug (const char *format,...)
 Output a debug message.
static void debug (bool condition, const char *format,...)
 Conditionally output a debug message.

Detailed Description

Definition in file debug.h.


Function Documentation

static void debug ( const char *  format,
  ... 
) [static]

Output a debug message.

Parameters:
formatprintf-style format string, followed by variables

Definition at line 33 of file debug.h.

static void debug ( bool  condition,
const char *  format,
  ... 
) [static]

Conditionally output a debug message.

Parameters:
conditionoutput only if condition is true
formatprintf-style format string, followed by variables

Definition at line 45 of file debug.h.