Get delay data with logging enabled.
Add compile-time switch to log to console in realtime threads.