J. Nick Koston
690dc324c9
[logger] Move task log buffer storage to BSS ( #15153 )
2026-03-25 00:52:37 +00:00
c917b8ce06
[logger] Fix race condition in task log buffer initialization ( #15071 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-23 09:20:28 +13:00
J. Nick Koston
7131eafc09
[logger] Reduce per-message overhead by inlining hot path helpers ( #14851 )
2026-03-16 07:35:04 -10:00
J. Nick Koston
789da5fdf8
[logger] Mark Logger and LoggerMessageTrigger as final ( #14291 )
2026-02-25 22:13:44 -05:00
J. Nick Koston
5fddce6638
[logger] Make tx_buffer_ compile-time sized ( #14205 )
2026-02-23 12:02:05 +13:00
J. Nick Koston
d206c75b0b
[logger] Fix loop disable optimization using wrong preprocessor guard ( #14158 )
2026-02-20 19:20:44 -06:00
tomaszduda23
1d3054ef5e
[nrf52,logger] Early debug ( #11685 )
2026-02-20 16:12:50 -06:00
J. Nick Koston
6daca09794
[logger] Replace LogListener virtual interface with LogCallback struct ( #14084 )
2026-02-19 08:40:08 -06:00
tomaszduda23 and J. Nick Koston
9bdae5183c
[nrf52,logger] add support for task_log_buffer_size ( #13862 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-11 15:43:55 +00:00
J. Nick Koston
78df8be31f
[logger] Resolve thread name once and pass through logging chain ( #13836 )
2026-02-09 18:16:27 -06:00
J. Nick Koston
a556824875
[logger] Refactor to reduce code duplication and flash size ( #13750 )
2026-02-05 06:19:13 +01:00
J. Nick Koston
26e4cda610
[logger] Use vsnprintf_P directly for ESP8266 flash format strings ( #13716 )
2026-02-03 02:25:54 +01:00
J. Nick Koston
346f3d38d5
[logger] Use raw pointer for task log buffer to match tx_buffer pattern ( #13402 )
2026-01-20 17:52:58 -10:00
J. Nick Koston and Copilot
2793e33baf
[logger] Use StaticVector for log listeners with compile-time sizing ( #13196 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-13 15:43:17 -10:00
J. Nick Koston and Copilot
5dfdd05122
[logger] Use RAII guards for recursion protection and optimize hot path ( #13194 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-13 15:43:02 -10:00
J. Nick Koston
da0b01f4d0
[logger] Enable loop disable optimization for LibreTiny task log buffer ( #13078 )
2026-01-08 10:51:18 -10:00
J. Nick Koston
0ce3ac438b
[logger] Add thread-safe logging support for LibreTiny platform ( #13062 )
2026-01-07 13:40:15 -10:00
J. Nick Koston
25ac89e9b5
[logger] Add thread-safe logging for host platform ( #13010 )
2026-01-07 08:29:50 -10:00
J. Nick Koston
7d5342bca5
[logger] Host: Use fwrite() with explicit length and remove platform branching ( #12628 )
2025-12-22 16:45:22 -10:00
J. Nick Koston
b4c92dd8cb
[logger] Zephyr: Use k_str_out() with known length instead of printk() ( #12619 )
2025-12-22 14:29:47 -10:00
J. Nick Koston
0d993691d4
[logger] RP2040: Use write() with known length instead of println() ( #12615 )
2025-12-21 17:59:30 -10:00
J. Nick Koston and Copilot
bc50be6053
[logger] Conditionally compile log level change listener ( #12168 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-28 22:14:00 +00:00
J. Nick Koston
71dc402a30
[logger] Replace std::function callbacks with LogListener interface ( #12153 )
2025-11-28 04:00:33 +00:00
J. Nick Koston
7a73a524b9
[logger] Eliminate strlen overhead on LibreTiny ( #11938 )
2025-11-24 12:21:09 -06:00
J. Nick Koston
1f0a5e1eea
[logger] Reduce UART overhead on ESP32/ESP8266 and fix buffer truncation ( #11927 )
2025-11-24 10:21:32 -06:00
tomaszduda23
f3cdbd0a05
[nrf52] fix task names in logs ( #11367 )
2025-10-19 07:39:48 -10:00
J. Nick Koston
20d9ae699c
[logger] Conditionally compile runtime tag-specific log levels for performance ( #11004 )
2025-10-06 09:59:52 +13:00
J. Nick Koston
ca0e738799
[logger] Fix line number wrapping bug for files with >999 lines ( #10979 )
2025-10-03 10:50:21 -05:00
J. Nick Koston
de21c61b6a
[logger] Optimize log formatting performance (35-72% faster) ( #10960 )
2025-10-01 15:33:30 +02:00
b8cee477fe
[esp32] Use arduino as an idf component ( #10647 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-09-17 17:23:34 -05:00
J. Nick Koston and Copilot
1340665ac7
[logger] Use LogString for UART selection strings (saves 28 bytes RAM on ESP8266) ( #10615 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-05 17:47:53 -05:00
J. Nick Koston
981b906579
[logger] Use C++17 nested namespace syntax ( #9916 )
2025-07-26 11:06:01 -10:00
5d9cba3dce
[nrf52, core] nrf52 core based on zephyr ( #7049 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Samuel Sieb <samuel-github@sieb.net >
Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-07-16 13:00:21 +12:00
J. Nick Koston and Copilot
ee8ee4e646
Optimize logger callback API by including message length parameter ( #9368 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-07 22:00:03 +00:00
J. Nick Koston
90fb3680d4
Optimize logger performance by eliminating redundant strlen calls ( #9369 )
2025-07-08 08:36:36 +12:00
J. Nick Koston and Jesse Hills
e017250445
Reduce logger CPU usage by disabling loop when buffer is empty ( #9160 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-06-26 13:44:07 +12:00
J. Nick Koston
59889a6286
Reduce Logger memory usage by optimizing variable sizes ( #9161 )
2025-06-23 14:06:02 +12:00
J. Nick Koston
07cf6e723b
Fix unbound BLE event queue growth and reduce memory usage ( #9052 )
2025-06-15 04:45:41 +00:00
J. Nick Koston
737d502614
Fix logger stack overflow ( #8988 )
2025-06-03 04:46:17 +12:00
J. Nick Koston
0b77cb1d16
Logger Recursion Guard per Task on ESP32 ( #8765 )
2025-05-15 21:36:28 +12:00
J. Nick Koston and Jesse Hills
dded81d622
Fix ESP32 API Disconnects Caused by Concurrent Logger Writes ( #8736 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-05-13 07:03:34 +12:00
Clyde Stubbs and Jesse Hills
ff7d232ee6
[logger] Add runtime level select ( #8222 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-02-10 15:53:26 +13:00
tomaszduda23
8796a4c1a7
print task name if logger is called from other than main thread ( #6630 )
2024-05-06 10:10:49 +12:00
tomaszduda23
d4489ac373
dump config after logging CDC port is opened by host ( #6169 )
2024-03-11 11:43:33 +13:00
Clyde Stubbs
0bc645ded7
Fix build failures on host platform caused by #6167 ( #6338 )
...
* Fix build failures for logger component on host platform
* Add climits header
* Restore logger functionality on host
* Install libsodium in ci
2024-03-09 21:08:58 -06:00
de2d5a65b5
Separate logger implementations for each hardware platform into different files ( #6167 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2024-03-05 10:52:52 +13:00
Keith Burzinski
082d9fcf0e
ESP32-C3 USB_CDC fixes ( #6069 )
2024-01-11 08:05:34 +09:00
Jesse Hills and Keith Burzinski
777cdb1c21
Allow use of CDC/JTAG loggers on esp32 variants with Arduino ( #4658 )
...
* Allow use of CDC/JTAG loggers on esp32 variants with Arduino
* Only on s2/s3
* Separate C3 from S2/S3
* C code builds & runs correctly, still needs work though
* Works on S2
* It works!
* Remove unnecessary header
---------
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2023-12-13 22:24:16 -06:00
Keith Burzinski
b632ae49d4
Improv Serial support via USB CDC and JTAG ( #5559 )
2023-10-19 19:53:09 +13:00
Austin
fa0dcac2c7
Initial ESP32-H2 Support ( #5498 )
2023-10-09 07:34:12 +13:00