- (set-mqtt-client-log-callback! client (lambda (client level str) ...))procedure
Set the logging callback. This should be used if you want event logging information from the client library.
- level: the log message level from the values: 'log-info 'log-notice 'log-warning 'log-err 'log-debug
- str: the message string