nostra13/Android-Universal-Image-Loader — Issue #17: ImageLoader log message not formatted
Author: j9
Created: 2012-02-02 12:44:58+00:00
State: open

In ImageLoader displayImage() method, log string LOG_LOAD_IMAGE_FROM_MEMORY_CACHE is not formatted which leads to placeholder (%s) appearing in logs, instead of cache related information.

```java
Bitmap bmp = configuration.memoryCache.get(memoryCacheKey);
if (bmp != null && !bmp.isRecycled()) {
Log.i(TAG, LOG_LOAD_IMAGE_FROM_MEMORY_CACHE);
imageView.setImageBitmap(bmp);
} else {
listener.onLoadingStarted();
if (imageLoadingExecutor.isShutdown()) {
imageLoadingExecutor = Executors.newFixedThreadPool(configuration.threadPoolSize);
}
```

I'm not sure what you thought should be there, but I'm using memoryCacheKey now.

```java
Log.i(TAG, String.format(LOG_LOAD_IMAGE_FROM_MEMORY_CACHE, memoryCacheKey));
```