Browse files

print which Spells are cast on dlog level 2

  • Loading branch information...
1 parent 1c7788b commit fcfd333679960cd2cd0866a4b06830fbefe91885 @machisuji committed Apr 6, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 core/src/main/java/org/wandledi/AbstractSpell.java
View
3 core/src/main/java/org/wandledi/AbstractSpell.java
@@ -58,6 +58,9 @@ public Spell getParent() {
}
public void startTransformedElement(String name, Attributes attributes) {
+ if (Wandler.dlogLevel >= Wandler.DLOG_LEVEL_2) {
+ System.out.println("[info] Casting " + toString());
+ }
if (ignoreBounds()) {
startElement(name, attributes);
} else {

0 comments on commit fcfd333

Please sign in to comment.