aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/Assets
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/Assets
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 'OpenSim/OpenSim.RegionServer/Assets')
-rw-r--r--OpenSim/OpenSim.RegionServer/Assets/AssetCache.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.RegionServer/Assets/AssetCache.cs b/OpenSim/OpenSim.RegionServer/Assets/AssetCache.cs
index f66fa80..b98eac9 100644
--- a/OpenSim/OpenSim.RegionServer/Assets/AssetCache.cs
+++ b/OpenSim/OpenSim.RegionServer/Assets/AssetCache.cs
@@ -34,6 +34,7 @@ using OpenSim;
34using OpenSim.Framework.Interfaces; 34using OpenSim.Framework.Interfaces;
35using OpenSim.Framework.Types; 35using OpenSim.Framework.Types;
36using OpenSim.Framework.Utilities; 36using OpenSim.Framework.Utilities;
37using OpenSim.Framework.Console;
37 38
38namespace OpenSim.Assets 39namespace OpenSim.Assets
39{ 40{
@@ -60,7 +61,7 @@ namespace OpenSim.Assets
60 /// </summary> 61 /// </summary>
61 public AssetCache(IAssetServer assetServer) 62 public AssetCache(IAssetServer assetServer)
62 { 63 {
63 Console.WriteLine("Creating Asset cache"); 64 MainConsole.Instance.Verbose("Creating Asset cache");
64 _assetServer = assetServer; 65 _assetServer = assetServer;
65 _assetServer.SetReceiver(this); 66 _assetServer.SetReceiver(this);
66 Assets = new Dictionary<libsecondlife.LLUUID, AssetInfo>(); 67 Assets = new Dictionary<libsecondlife.LLUUID, AssetInfo>();
@@ -86,7 +87,7 @@ namespace OpenSim.Assets
86 } 87 }
87 catch (Exception e) 88 catch (Exception e)
88 { 89 {
89 Console.WriteLine(e.Message); 90 MainConsole.Instance.Error(e.Message);
90 } 91 }
91 } 92 }
92 } 93 }