If `send-notify` is recognized as valid command, the dbg_msg function will send it there instead of printing it to stdout. The urgency of the message corresponds with low/normal/critical to the debug levels info/warn/error.