diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-08-30 18:49:27 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-08-30 18:49:27 +0000 |
commit | 73746f66b8090d5959aa2b35734cd2828d1cc4fd (patch) | |
tree | 358e66f2a1cc93e4b5453037445bd5d74ed14c3b | |
parent | 2294b3dae9de67a27f67e748f9fc96a829372edb (diff) | |
download | xmlgraphics-fop-73746f66b8090d5959aa2b35734cd2828d1cc4fd.tar.gz xmlgraphics-fop-73746f66b8090d5959aa2b35734cd2828d1cc4fd.zip |
Write to log output (debug level) which image source is used to load an image.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264824 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/image/ImageFactory.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/image/ImageFactory.java b/src/java/org/apache/fop/image/ImageFactory.java index a99a4926d..bc2258958 100644 --- a/src/java/org/apache/fop/image/ImageFactory.java +++ b/src/java/org/apache/fop/image/ImageFactory.java @@ -251,6 +251,11 @@ public final class ImageFactory { log.error("Unsupported image type (" + href + "): " + imgMimeType); return null; + } else { + if (log.isDebugEnabled()) { + log.debug("Loading " + imgMimeType + " with " + imageClass.getName() + + ": " + href); + } } // load the right image class |