Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Debug functions

Debug functions
[Platform]

Functions

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

Function Documentation

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

Output a debug message.

Parameters:
formatprintf-style format string, followed by variables

Definition at line 44 of file mbed_debug.h.

static void debug_if ( int  condition,
const char *  format,
  ... 
) [static]

Conditionally output a debug message.

NOTE: If the condition is constant false (== 0) and the compiler optimization level is greater than 0, then the whole function will be compiled away.

Parameters:
conditionoutput only if condition is true (!= 0)
formatprintf-style format string, followed by variables

Definition at line 63 of file mbed_debug.h.