aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/RegionInfo.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/RegionInfo.cs
parent* Removing dead comments (diff)
downloadopensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.zip
opensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.tar.gz
opensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.tar.bz2
opensim-SC_OLD-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 'OpenSim/OpenSim.RegionServer/RegionInfo.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/RegionInfo.cs28
1 files changed, 14 insertions, 14 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
index 6bd8f08..0e75d8b 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
@@ -82,7 +82,7 @@ namespace OpenSim
82 stIn.Close(); 82 stIn.Close();
83 gridresp.Close(); 83 gridresp.Close();
84 84
85 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"RegionInfo.CS:SaveToGrid() - Grid said: " + GridResponse); 85 OpenSim.Framework.Console.MainConsole.Instance.Verbose("RegionInfo.CS:SaveToGrid() - Grid said: " + GridResponse);
86 } 86 }
87 87
88 public void InitConfig(bool sandboxMode, IGenericConfig configData) 88 public void InitConfig(bool sandboxMode, IGenericConfig configData)
@@ -333,21 +333,21 @@ namespace OpenSim
333 } 333 }
334 catch (Exception e) 334 catch (Exception e)
335 { 335 {
336 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"Config.cs:InitConfig() - Exception occured"); 336 OpenSim.Framework.Console.MainConsole.Instance.Warn("Config.cs:InitConfig() - Exception occured");
337 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,e.ToString()); 337 OpenSim.Framework.Console.MainConsole.Instance.Warn(e.ToString());
338 } 338 }
339 339
340 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Simulator Settings Loaded"); 340 OpenSim.Framework.Console.MainConsole.Instance.Verbose("Simulator Settings Loaded");
341 /* OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "UUID: " + this.SimUUID.ToStringHyphenated()); 341 /* MainConsole.Instance.Notice("UUID: " + this.SimUUID.ToStringHyphenated());
342 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Name: " + this.RegionName); 342 MainConsole.Instance.Notice("Name: " + this.RegionName);
343 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Region Location: [" + this.RegionLocX.ToString() + "," + this.RegionLocY + "]"); 343 MainConsole.Instance.Notice("Region Location: [" + this.RegionLocX.ToString() + "," + this.RegionLocY + "]");
344 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Region Handle: " + this.RegionHandle.ToString()); 344 MainConsole.Instance.Notice("Region Handle: " + this.RegionHandle.ToString());
345 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Listening on IP: " + this.IPListenAddr + ":" + this.IPListenPort); 345 MainConsole.Instance.Notice("Listening on IP: " + this.IPListenAddr + ":" + this.IPListenPort);
346 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Sandbox Mode? " + isSandbox.ToString()); 346 MainConsole.Instance.Notice("Sandbox Mode? " + isSandbox.ToString());
347 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Asset URL: " + this.AssetURL); 347 MainConsole.Instance.Notice("Asset URL: " + this.AssetURL);
348 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Asset key: " + this.AssetSendKey); 348 MainConsole.Instance.Notice("Asset key: " + this.AssetSendKey);
349 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Grid URL: " + this.GridURL); 349 MainConsole.Instance.Notice("Grid URL: " + this.GridURL);
350 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Grid key: " + this.GridSendKey); */ 350 MainConsole.Instance.Notice("Grid key: " + this.GridSendKey); */
351 } 351 }
352 } 352 }
353} 353}