terrorsl / sMQTTBroker

Simple MQTT broker
MIT License
70 stars 19 forks source link

SMQTT_LOGD #12

Closed conaito closed 2 years ago

conaito commented 2 years ago

As i see into code there are some debug included "SMQTT_LOGD" . How can i turn that on on platformIO to see this messages on serial monitor? may this help much more to find issues

terrorsl commented 2 years ago

https://docs.platformio.org/en/latest/platforms/espressif32.html

[env:myenv]
platform = ...
board = ...
framework = arduino

;;;;; Possible options ;;;;;;

; None
build_flags = -DCORE_DEBUG_LEVEL=0

; Error
build_flags = -DCORE_DEBUG_LEVEL=1

; Warn
build_flags = -DCORE_DEBUG_LEVEL=2

; Info
build_flags = -DCORE_DEBUG_LEVEL=3

; Debug
build_flags = -DCORE_DEBUG_LEVEL=4

; Verbose
build_flags = -DCORE_DEBUG_LEVEL=5
conaito commented 2 years ago

thx!