Code example for ConsoleHandler

Methods: setLevel

0
		p = Player.fromType("UCTPlayer", "Other", players.size(), Color.BLUE);
		players.add(p);
		Game game = new Game(players.toArray(new Player[players.size()]), board);
		 
		logger.setUseParentHandlers(false);
		ConsoleHandler consoleHandler = new ConsoleHandler();
		consoleHandler.setLevel(java.util.logging.Level.INFO);
		logger.addHandler(consoleHandler);
		logger.setLevel(Level.ALL);
		 
		game.setLogger(logger);
		game.setStartPositionsScrambled(false);
		game.setup();
		game.runOnce();
		 
		board.toEntelectFile(boardPath, crossOver);
		 
		System.out.println(board.toString(player1,player2));
		System.exit(0);