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 /Common/OpenSim.Servers/BaseHttpServer.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 'Common/OpenSim.Servers/BaseHttpServer.cs')
-rw-r--r-- | Common/OpenSim.Servers/BaseHttpServer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Common/OpenSim.Servers/BaseHttpServer.cs b/Common/OpenSim.Servers/BaseHttpServer.cs index 38f4370..3f9109d 100644 --- a/Common/OpenSim.Servers/BaseHttpServer.cs +++ b/Common/OpenSim.Servers/BaseHttpServer.cs | |||
@@ -223,7 +223,7 @@ namespace OpenSim.Servers | |||
223 | 223 | ||
224 | public void Start() | 224 | public void Start() |
225 | { | 225 | { |
226 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW, "BaseHttpServer.cs: Starting up HTTP Server"); | 226 | MainConsole.Instance.Verbose("BaseHttpServer.cs: Starting up HTTP Server"); |
227 | 227 | ||
228 | m_workerThread = new Thread(new ThreadStart(StartHTTP)); | 228 | m_workerThread = new Thread(new ThreadStart(StartHTTP)); |
229 | m_workerThread.IsBackground = true; | 229 | m_workerThread.IsBackground = true; |
@@ -234,7 +234,7 @@ namespace OpenSim.Servers | |||
234 | { | 234 | { |
235 | try | 235 | try |
236 | { | 236 | { |
237 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW, "BaseHttpServer.cs: StartHTTP() - Spawned main thread OK"); | 237 | MainConsole.Instance.Verbose("BaseHttpServer.cs: StartHTTP() - Spawned main thread OK"); |
238 | m_httpListener = new HttpListener(); | 238 | m_httpListener = new HttpListener(); |
239 | 239 | ||
240 | m_httpListener.Prefixes.Add("http://+:" + m_port + "/"); | 240 | m_httpListener.Prefixes.Add("http://+:" + m_port + "/"); |
@@ -249,7 +249,7 @@ namespace OpenSim.Servers | |||
249 | } | 249 | } |
250 | catch (Exception e) | 250 | catch (Exception e) |
251 | { | 251 | { |
252 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM, e.Message); | 252 | MainConsole.Instance.Warn(e.Message); |
253 | } | 253 | } |
254 | } | 254 | } |
255 | } | 255 | } |