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/LoginResponse.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 '')
-rw-r--r-- | Common/OpenSim.Servers/LoginResponse.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Common/OpenSim.Servers/LoginResponse.cs b/Common/OpenSim.Servers/LoginResponse.cs index 7333d1f..e78def4 100644 --- a/Common/OpenSim.Servers/LoginResponse.cs +++ b/Common/OpenSim.Servers/LoginResponse.cs | |||
@@ -210,8 +210,7 @@ namespace OpenSim.UserServer | |||
210 | } | 210 | } |
211 | catch (Exception e) | 211 | catch (Exception e) |
212 | { | 212 | { |
213 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine( | 213 | OpenSim.Framework.Console.MainConsole.Instance.Warn( |
214 | OpenSim.Framework.Console.LogPriority.LOW, | ||
215 | "LoginResponse: Unable to set default values: " + e.Message | 214 | "LoginResponse: Unable to set default values: " + e.Message |
216 | ); | 215 | ); |
217 | } | 216 | } |
@@ -326,8 +325,7 @@ namespace OpenSim.UserServer | |||
326 | } | 325 | } |
327 | catch (Exception e) | 326 | catch (Exception e) |
328 | { | 327 | { |
329 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine( | 328 | OpenSim.Framework.Console.MainConsole.Instance.Error( |
330 | OpenSim.Framework.Console.LogPriority.LOW, | ||
331 | "LoginResponse: Error creating XML-RPC Response: " + e.Message | 329 | "LoginResponse: Error creating XML-RPC Response: " + e.Message |
332 | ); | 330 | ); |
333 | return (this.GenerateFailureResponse("Internal Error", "Error generating Login Response", "false")); | 331 | return (this.GenerateFailureResponse("Internal Error", "Error generating Login Response", "false")); |