From ad5548de9fa18384f7de0520bc7756e312c07191 Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Tue, 24 Jul 2007 04:10:08 +0000
Subject: * More console related changes.
---
OpenSim/Framework/Console/LogBase.cs | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'OpenSim/Framework')
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs
index f2b2720..8b8d8df 100644
--- a/OpenSim/Framework/Console/LogBase.cs
+++ b/OpenSim/Framework/Console/LogBase.cs
@@ -114,6 +114,7 @@ namespace OpenSim.Framework.Console
/// WriteLine-style message arguments
public void Warn(string sender, string format, params object[] args)
{
+ sender = sender.ToUpper();
int colIdx = (sender.GetHashCode() % 6) + 9;
ConsoleColor col = (ConsoleColor)colIdx;
@@ -141,6 +142,7 @@ namespace OpenSim.Framework.Console
/// WriteLine-style message arguments
public void Notice(string sender, string format, params object[] args)
{
+ sender = sender.ToUpper();
int colIdx = (sender.GetHashCode() % 6) + 9;
ConsoleColor col = (ConsoleColor)colIdx;
@@ -168,6 +170,7 @@ namespace OpenSim.Framework.Console
/// WriteLine-style message arguments
public void Error(string sender, string format, params object[] args)
{
+ sender = sender.ToUpper();
int colIdx = (sender.GetHashCode() % 6) + 9;
ConsoleColor col = (ConsoleColor)colIdx;
@@ -195,6 +198,7 @@ namespace OpenSim.Framework.Console
/// WriteLine-style message arguments
public void Verbose(string sender, string format, params object[] args)
{
+ sender = sender.ToUpper();
int colIdx = (sender.GetHashCode() % 6) + 9;
ConsoleColor col = (ConsoleColor)colIdx;
@@ -222,6 +226,7 @@ namespace OpenSim.Framework.Console
/// WriteLine-style message arguments
public void Status(string sender, string format, params object[] args)
{
+ sender = sender.ToUpper();
int colIdx = (sender.GetHashCode() % 6) + 9;
ConsoleColor col = (ConsoleColor)colIdx;
--
cgit v1.1