esp-rs / esp-idf-svc

Type-Safe Rust Wrappers for various ESP-IDF services (WiFi, Network, Httpd, Logging, etc.)
https://docs.esp-rs.org/esp-idf-svc/
Apache License 2.0
332 stars 183 forks source link

Fix missing newline if CONFIG_LOG_COLORS=n is set #521

Closed mike1703 closed 6 days ago

mike1703 commented 1 week ago

Fixes #520 where no newlines were printed if CONFIG_LOG_COLORS=n as the newline was only printed if color.is_some(). Now the writeln!() call is at the end and is always called.

ivmarkov commented 6 days ago

Thanks!