Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefetcher prints to NSLog frequently #900

Closed
drumnkyle opened this issue Sep 18, 2014 · 4 comments
Closed

Prefetcher prints to NSLog frequently #900

drumnkyle opened this issue Sep 18, 2014 · 4 comments
Milestone

Comments

@drumnkyle
Copy link

I am getting a log message every time a prefetch image succeeds or fails. This is far too much logging. It should be able to be turned off. One of the places is in the startPrefetchingAtIndex: method in SDWebImagePrefetcher, but I think there are a few more places.

@j0sh
Copy link

j0sh commented Sep 20, 2014

Agreed with this, too much default printing. A configurable log level would be nice.

@bpoplauschi
Copy link
Member

Just use the SD_LOG_NONE macro to silence the logs. Or just comment the NSLog lines.

@bpoplauschi bpoplauschi added this to the 4.0.0 milestone Sep 22, 2014
@jrr363
Copy link

jrr363 commented Oct 17, 2014

Hello, I just implemented your awesomeness SDWebImage in my project and I love love love it! "I cannot believe its not butter", because my collectionView is so smooth. Could you be ever so kind and tell me if I can do anything about the Prefetcher having to prefetch urls after view applicationWillEnterForeground? Because If I do-not back-out of the app and call the Prefetcher method it will skip the already fetched urls, but if I do back out SDWebImagePrefetcher will start at zero again.

Thank you so much for your hard work.

@bpoplauschi
Copy link
Member

@jrr363 I'm not sure I understand your question.

@bpoplauschi bpoplauschi modified the milestones: 3.7.2, 4.0.0 Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants