vladak / shield

code for ESP32 Adafruit Feather to get various sensor readings and publish them to MQTT broker
2 stars 0 forks source link

set log level for the MQTT callbacks #11

Closed vladak closed 1 year ago

vladak commented 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().