FM Debug Logging Using printf
Historically, debug logging has been via a simulated serial port 0 and the dbgprint routines. These methods are maintained for backwards compatibility.
As a simpler alternative to these methods, ProtectServer 2 adds support for standard C printf to write debug messages to the hsmtrace log.
NOTE For best practice, update your code to use printf instead of serial port 0 and the dbgprint routines.