wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.03k stars 607 forks source link

Add DataLog support for logging stdout/stderr #6761

Open PeterJohnson opened 1 week ago

PeterJohnson commented 1 week ago

Capturing stdout and stderr in data logs would make debugging easier. This can be done by implementing the equivalent of tail -f /proc/self/fd/1 (and 2 for stderr) and chunking into lines.