Crate futures_poll_log [−] [src]
This module provides a way to wrap Futures in another Future that logs internal calls to poll. This allows a better understanding for when polls happen for both teaching and debugging.
The LoggedFuture struct wraps another Future and will log all poll calls.
LoggingExt introduces the logging capabilities to any Future, as long as all its Item and Error can be printed.