aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Console/LocalConsole.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs
index c1ac9b3..737475a 100644
--- a/OpenSim/Framework/Console/LocalConsole.cs
+++ b/OpenSim/Framework/Console/LocalConsole.cs
@@ -213,7 +213,6 @@ namespace OpenSim.Framework.Console
213 MatchCollection matches = RE.Matches(text); 213 MatchCollection matches = RE.Matches(text);
214 214
215 string outText = text; 215 string outText = text;
216 ConsoleColor color = ConsoleColor.White;
217 216
218 if (matches.Count == 1) 217 if (matches.Count == 1)
219 { 218 {
@@ -227,11 +226,12 @@ namespace OpenSim.Framework.Console
227 } 226 }
228 227
229 if (level == "error") 228 if (level == "error")
230 color = ConsoleColor.Red; 229 WriteColorText(ConsoleColor.Red, outText);
231 else if (level == "warn") 230 else if (level == "warn")
232 color = ConsoleColor.Yellow; 231 WriteColorText(ConsoleColor.Yellow, outText);
233 232 else
234 WriteColorText(color, outText); 233 System.Console.Write(outText);
234
235 System.Console.WriteLine(); 235 System.Console.WriteLine();
236 } 236 }
237 237