void myqtt_log2_enable ( MyQttCtx ctx,
axl_bool  status 
)

Enable console second level myqtt log.

You can also enable log by setting MYQTT_DEBUG2 environment variable to 1.

Activating second level debug also requires to call to myqtt_log_enable (axl_true). In practical terms myqtt_log_enable (axl_false) disables all log reporting even having myqtt_log2_enable (axl_true) enabled.

Parameters
ctxThe context where the operation will be performed.
statusaxl_true enable log, axl_false disables it.