Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit 35ae599

Browse files
authored
Update CacheLogger.java
1 parent ff97609 commit 35ae599

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/java/id.my.alvinq.prokitid.libs/CacheLogger.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ public class CacheLogger {
1111

1212
public static void logAllCacheFiles(Context context) {
1313
if (context == null) {
14-
Logger.get().info(TAG, "Context is null, cannot get cache directory!");
14+
Logger.get().info("Context is null, cannot get cache directory!");
1515
return;
1616
}
1717

1818
File cacheDir = context.getCacheDir();
1919
if (cacheDir != null && cacheDir.exists()) {
20-
Logger.get().info(TAG, "Cache directory: " + cacheDir.getAbsolutePath());
20+
Logger.get().info("Cache directory: " + cacheDir.getAbsolutePath());
2121

2222
File[] files = cacheDir.listFiles();
2323
if (files != null && files.length > 0) {
2424
for (File file : files) {
2525
if (file.isDirectory()) {
26-
Logger.get().info(TAG, "DIR : " + file.getAbsolutePath());
26+
Logger.get().info("DIR : " + file.getAbsolutePath());
2727
} else {
28-
Logger.get().info(TAG, "FILE: " + file.getAbsolutePath() + " (" + file.length() + " bytes)");
28+
Logger.get().info("FILE: " + file.getAbsolutePath() + " (" + file.length() + " bytes)");
2929
}
3030
}
3131
} else {
32-
Logger.get().info(TAG, "Cache directory is empty.");
32+
Logger.get().info("Cache directory is empty.");
3333
}
3434
} else {
35-
Logger.get().info(TAG, "Cache directory does not exist.");
35+
Logger.get().info("Cache directory does not exist.");
3636
}
3737
}
3838
}

0 commit comments

Comments
 (0)