TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_log_raw.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int tfm_log_printf (const char *fmt,...)
 Prints log messages. More...
 

Function Documentation

int tfm_log_printf ( const char *  fmt,
  ... 
)

Prints log messages.

Parameters
[in]fmtFormatted string
[in]...Viriable length argument
Returns
Number of chars printed
Note
This function has the similar input argument format as the 'printf' function. But it supports only some basic formats like 'sdicpuxX' and ''. It will output "[Unsupported Tag]" when none of the above formats match

The following output formats are supported. s - string d - decimal signed integer (same for i) u - decimal unsigned integer x - hex in lowercase X - hex in uppercase p - hex address of a pointer in lowercase c - character %% - the '' symbol

Definition at line 161 of file tfm_log_raw.c.