le_print.h File Reference
Go to the source code of this file.
Macros | |
#define | LE_PRINT_VALUE(formatSpec, value) LE_DEBUG( STRINGIZE(value) "=" formatSpec, value) |
#define | LE_PRINT_VALUE_IF(condition, formatSpec, value) |
#define | LE_PRINT_ARRAY(formatSpec, size, array) |
Detailed Description
- Legato Print APIs include file.
Copyright (C) Sierra Wireless Inc.
Macro Definition Documentation
◆ LE_PRINT_ARRAY
#define LE_PRINT_ARRAY | ( | formatSpec, | |
size, | |||
array | |||
) |
◆ LE_PRINT_VALUE
Print a single value using specified format.
- Parameters
-
formatSpec LE_DEBUG format; must be a string literal value Variable name; must not be a literal
◆ LE_PRINT_VALUE_IF
#define LE_PRINT_VALUE_IF | ( | condition, | |
formatSpec, | |||
value | |||
) |
Value:
if (condition) \{ LE_PRINT_VALUE(formatSpec, value); }
Print a single value using specified format, if condition is met.
- Parameters
-
condition Boolean formatSpec LE_DEBUG format; must be a string literal value Variable name; must not be a literal