Different log level verbosity in the FDRS code #192
Replies: 1 comment 2 replies
-
I think it's a great idea. I've dealt with similar issues when dealing with the ESP-NOW controllers and their registration messages. Some messages are more info than most users need, but I still need them for debugging/troubleshooting. Are 'fine' and 'finest' terms that are used elsewhere in similar situations? I haven't heard them, but I don't know these things and trust your judgement. 'deep' and 'deeper' are my own suggestions. Also, what will the function (macros) be named? I recall being against the timestamp, but if you still would like to add it in I'd be cool with it now. Apologies for being wishy washy. I think I was a bit overwhelmed at the time. If you do, note that OLED debugging already has a timestamp appended. |
Beta Was this translation helpful? Give feedback.
-
@timmbogner , what's your take on different log level verbosity in the code? ESP has several log levels - info, warn, debug, error, etc. Nice to not have to uncomment DBG lines to get more or less information, better to just change a #define statement. I have implemented in my testing and I enjoy it. Seeing what you think about it and others.
I have standard DBG as before but also fine and finest levels. DBG could be standard minimal output, fine could be output if having issues and finest could be for developing to get all the info.
I know you wouldn't need the timestamp at the beginning of the line so I'd keep that out.
Sample conf file
Sample output
Beta Was this translation helpful? Give feedback.
All reactions