Some changes to logging.

This commit is contained in:
LevelX2 2013-03-04 00:01:12 +01:00
parent 2daae9fb47
commit cc96a55523
7 changed files with 9 additions and 9 deletions

View file

@ -257,7 +257,7 @@ public class AbilityPicker extends JXPanel implements MouseWheelListener {
}
final String finalText = text;
System.out.println(finalText);
// System.out.println(finalText);
ImageRenderer2.super.setText(finalText);
setCaretPosition(0);

View file

@ -296,10 +296,10 @@ public class DialogManager extends JComponent implements MouseListener,
public void mouseWheelMoved(MouseWheelEvent e) {
int notches = e.getWheelRotation();
System.out.println("outx:"+notches);
if (currentDialog != null && currentDialog.equals(MTGDialogs.ChooseCommonDialog)) {
System.out.println("out:"+1);
}
// System.out.println("outx:"+notches);
// if (currentDialog != null && currentDialog.equals(MTGDialogs.ChooseCommonDialog)) {
// System.out.println("out:"+1);
// }
}
/**

View file

@ -158,7 +158,7 @@ public class DeckGenerator {
List<Card> spellCardPool = generateSpellCardPool(cardPoolSize, allowedColors, setsToUse);
List<Card> landCardPool = generateNonBasicLandCardPool(MAX_NON_BASIC_SOURCE, allowedColors, setsToUse);
System.out.println("deck generator card pool: spells=" + spellCardPool.size() + ", lands=" + landCardPool.size());
// System.out.println("deck generator card pool: spells=" + spellCardPool.size() + ", lands=" + landCardPool.size());
final List<String> setsToUseFinal = setsToUse;

View file

@ -411,7 +411,7 @@ public class ConnectDialog extends MageDialog {
List<String> servers = new ArrayList<String>();
String inputLine;
while ((inputLine = in.readLine()) != null) {
System.out.println("Found server: " + inputLine);
logger.info("Found server: " + inputLine);
servers.add(inputLine);
}

View file

@ -123,7 +123,7 @@ public class GuiDisplayUtil {
c.setLocation(x, y);
} else {
System.out.println("null");
System.out.println("GuiDisplayUtil::keepComponentInsideScreen -> no GraphicsConfiguration");
}
}

View file

@ -215,7 +215,6 @@ public class ManaSymbols {
}
replaced = replaced.replace("|source|", "{source}");
replaced = replaced.replace("|this|", "{this}");
System.out.println(replaced);
return replaced;
}

View file

@ -629,6 +629,7 @@ public class GameController implements GameCallback {
logger.warn(" action player: " + player.getName() + ", id: " + player.getId());
Player priorityPlayer = game.getPlayer(game.getPriorityPlayerId());
logger.warn(" priority player: " + priorityPlayer.getName() + ", id: " + priorityPlayer.getId());
logger.warn(" command: " + command.toString());
}
}
} else {