After digging in some more, it seems you're correct. I had assumed that the ESP_LOGx macros were pushing an entire line to vprintf (or the specified override). But it looks like it actually does a separate vprintf call for each piece of the line (timestamp, message, etc.).
Overall, not a huge ...
Search found 2 matches
- Thu Oct 16, 2025 1:18 pm
- Forum: ESP-IDF
- Topic: Extra insertions when using strncat and snprintf
- Replies: 2
- Views: 786
- Wed Oct 15, 2025 3:17 pm
- Forum: ESP-IDF
- Topic: Extra insertions when using strncat and snprintf
- Replies: 2
- Views: 786
Extra insertions when using strncat and snprintf
Hi all,
I'm trying to write a custom logger that takes messages from a queue and transmits them over a BLE connection. Overall, I've got it working, but I have some strange behavior that I can't explain.
I want to prepend a short string ("# ") before transmitting the message. Here is a slightly ...
I'm trying to write a custom logger that takes messages from a queue and transmits them over a BLE connection. Overall, I've got it working, but I have some strange behavior that I can't explain.
I want to prepend a short string ("# ") before transmitting the message. Here is a slightly ...