aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/ClientView.Grid.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-06-05 12:55:12 +0000
committerAdam Frisby2007-06-05 12:55:12 +0000
commit1e716260c8166005d3bd33f4cda68502a09994bb (patch)
tree457d68f241ca0d8b28e03fdcd1a93f6aaf75ec44 /OpenSim/OpenSim.RegionServer/ClientView.Grid.cs
parent* Removing dead comments (diff)
downloadopensim-SC-1e716260c8166005d3bd33f4cda68502a09994bb.zip
opensim-SC-1e716260c8166005d3bd33f4cda68502a09994bb.tar.gz
opensim-SC-1e716260c8166005d3bd33f4cda68502a09994bb.tar.bz2
opensim-SC-1e716260c8166005d3bd33f4cda68502a09994bb.tar.xz
* Removed MainConsole.Instance.WriteLine completely
* Now exists MainConsole.Instance.Error/Warn/Notice/Verbose -- use those instead * Removed some instances of System.Console use - aiming to depreciate this in favour of MainConsole completely.
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.Grid.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.Grid.cs b/OpenSim/OpenSim.RegionServer/ClientView.Grid.cs
index 5229dbd..e59229a 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.Grid.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.Grid.cs
@@ -15,6 +15,7 @@ using OpenSim.Framework.Inventory;
15using OpenSim.Framework.Utilities; 15using OpenSim.Framework.Utilities;
16using OpenSim.world; 16using OpenSim.world;
17using OpenSim.Assets; 17using OpenSim.Assets;
18using OpenSim.Framework.Console;
18 19
19namespace OpenSim 20namespace OpenSim
20{ 21{
@@ -42,7 +43,7 @@ namespace OpenSim
42 ushort neighbourPort = (ushort)Convert.ToInt32(neighbour["sim_port"]); 43 ushort neighbourPort = (ushort)Convert.ToInt32(neighbour["sim_port"]);
43 string reqUrl = "http://" + neighbourIPStr + ":" + neighbourPort.ToString(); 44 string reqUrl = "http://" + neighbourIPStr + ":" + neighbourPort.ToString();
44 45
45 Console.WriteLine(reqUrl); 46 MainConsole.Instance.Verbose("Requesting " + reqUrl);
46 47
47 SimParams = new Hashtable(); 48 SimParams = new Hashtable();
48 SimParams["session_id"] = this.SessionID.ToString(); 49 SimParams["session_id"] = this.SessionID.ToString();
@@ -72,7 +73,7 @@ namespace OpenSim
72 } 73 }
73 catch (Exception e) 74 catch (Exception e)
74 { 75 {
75 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Could not connect to neighbour " + neighbour["sim_ip"] + ":" + neighbour["sim_port"] + ", continuing."); 76 MainConsole.Instance.Notice("Could not connect to neighbour " + neighbour["sim_ip"] + ":" + neighbour["sim_port"] + ", continuing.");
76 } 77 }
77 } 78 }
78 Thread.Sleep(3000); 79 Thread.Sleep(3000);
@@ -112,7 +113,7 @@ namespace OpenSim
112 neighboury += 1; 113 neighboury += 1;
113 newpos.Y = 1; 114 newpos.Y = 1;
114 } 115 }
115 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "SimClient.cs:CrossSimBorder() - Crossing border to neighbouring sim at [" + neighbourx.ToString() + "," + neighboury.ToString() + "]"); 116 MainConsole.Instance.Notice("SimClient.cs:CrossSimBorder() - Crossing border to neighbouring sim at [" + neighbourx.ToString() + "," + neighboury.ToString() + "]");
116 117
117 Hashtable SimParams; 118 Hashtable SimParams;
118 ArrayList SendParams; 119 ArrayList SendParams;