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/Assets/AssetCache.cs | |
parent | * Removing dead comments (diff) | |
download | opensim-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/Assets/AssetCache.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/Assets/AssetCache.cs | 5 |
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; | |||
34 | using OpenSim.Framework.Interfaces; | 34 | using OpenSim.Framework.Interfaces; |
35 | using OpenSim.Framework.Types; | 35 | using OpenSim.Framework.Types; |
36 | using OpenSim.Framework.Utilities; | 36 | using OpenSim.Framework.Utilities; |
37 | using OpenSim.Framework.Console; | ||
37 | 38 | ||
38 | namespace OpenSim.Assets | 39 | namespace 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 | } |