mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
f1794af0a7
This commit introduces node-specific log files for Nexus tests. Each created node can save its OpenThread logs into a separate file `ot-logs<id>.log`. The generation of log files is controlled by the environment variable `OT_NEXUS_SAVE_LOGS`. By default, it is disabled, but it can be activated by setting the environment variable to "1", "yes", "true", "on", or "t". This commit also refactors the Nexus platform logging logic into a new `nexus_logging.cpp` file and improves the log message format in `stdout` to include a standard timestamp using `UptimeToString()`.