more debug logging for icon loading

This commit is contained in:
Sergey Malenkov
2018-04-16 15:06:21 +03:00
parent c8c5419a87
commit bd74388650
@@ -199,11 +199,14 @@ public final class IconLoader {
@NotNull
private static Pair<String, Class> patchPath(@NotNull String path) {
for (IconPathPatcher patcher : ourPatchers) {
LOG.debug("patch paths with " + patcher);
String newPath = patcher.patchPath(path);
if (newPath != null) {
LOG.debug("replace path " + path + " with " + newPath);
return Pair.create(newPath, patcher.getContextClass(path));
}
}
LOG.debug("use path " + path);
return Pair.create(path, null);
}