is there a way to log with this? Specifically curious how many attempts are made when using the `sleep_and_retry` decorator.