DBG_PRINT
This function formats and dumps the given string to serial port 1 of the PSG.
Its use mirrors that of the C function printf.
On PSI-E and newer, this API writes to the HSM trace log.
On SafeNet ProtectServer PCIe HSMs, printf is preferred over use of this API.
Synopsis
include <fmdebug.h>
int dbg_print(char *format, ...);
| Parameter | Description | 
|---|---|
format
                                                             | 
                                                            Format of the string to print. This argument is followed by the values to place inside the format string. | 
Return Value
Returns 0 or -1 for failure.