diff options
author | Adam Frisby | 2007-06-05 12:55:12 +0000 |
---|---|---|
committer | Adam Frisby | 2007-06-05 12:55:12 +0000 |
commit | 1e716260c8166005d3bd33f4cda68502a09994bb (patch) | |
tree | 457d68f241ca0d8b28e03fdcd1a93f6aaf75ec44 /OpenSim/OpenSim.RegionServer/world/WorldBase.cs | |
parent | * Removing dead comments (diff) | |
download | opensim-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/world/WorldBase.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.RegionServer/world/WorldBase.cs b/OpenSim/OpenSim.RegionServer/world/WorldBase.cs index f8fb49d..2d4b6bf 100644 --- a/OpenSim/OpenSim.RegionServer/world/WorldBase.cs +++ b/OpenSim/OpenSim.RegionServer/world/WorldBase.cs | |||
@@ -14,6 +14,7 @@ using OpenSim.Framework.Inventory; | |||
14 | using OpenSim.Assets; | 14 | using OpenSim.Assets; |
15 | using OpenSim.RegionServer.world.scripting; | 15 | using OpenSim.RegionServer.world.scripting; |
16 | using OpenSim.Terrain; | 16 | using OpenSim.Terrain; |
17 | using OpenSim.Framework.Console; | ||
17 | 18 | ||
18 | namespace OpenSim.world | 19 | namespace OpenSim.world |
19 | { | 20 | { |
@@ -112,7 +113,7 @@ namespace OpenSim.world | |||
112 | } | 113 | } |
113 | catch (Exception e) | 114 | catch (Exception e) |
114 | { | 115 | { |
115 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, "World.cs: SendLayerData() - Failed with exception " + e.ToString()); | 116 | MainConsole.Instance.Warn("World.cs: SendLayerData() - Failed with exception " + e.ToString()); |
116 | } | 117 | } |
117 | } | 118 | } |
118 | 119 | ||
@@ -138,7 +139,7 @@ namespace OpenSim.world | |||
138 | } | 139 | } |
139 | catch (Exception e) | 140 | catch (Exception e) |
140 | { | 141 | { |
141 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, "World.cs: SendLayerData() - Failed with exception " + e.ToString()); | 142 | MainConsole.Instance.Warn("World.cs: SendLayerData() - Failed with exception " + e.ToString()); |
142 | } | 143 | } |
143 | } | 144 | } |
144 | #endregion | 145 | #endregion |