Closed vladak closed 1 year ago
can either propagate the logger to the callbacks via user_data (depends on https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/pull/136) or just create it in mqtt_client_setup() and let the callbacks use it via getLogger().
logger
user_data
mqtt_client_setup()
getLogger()
can either propagate the
logger
to the callbacks viauser_data
(depends on https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/pull/136) or just create it inmqtt_client_setup()
and let the callbacks use it viagetLogger()
.