aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/LogBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console/LogBase.cs')
-rw-r--r--OpenSim/Framework/Console/LogBase.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs
index db76861..7d38c3a 100644
--- a/OpenSim/Framework/Console/LogBase.cs
+++ b/OpenSim/Framework/Console/LogBase.cs
@@ -73,14 +73,18 @@ namespace OpenSim.Framework.Console
73 Log.Close(); 73 Log.Close();
74 } 74 }
75 75
76 [Obsolete("Log.WriteLine is obsolete, use Warn / Error / Verbose instead.")]
76 public void Write(string format, params object[] args) 77 public void Write(string format, params object[] args)
77 { 78 {
79 // HOUSEKEEPING : Will remove once use is removed.
78 Notice(format, args); 80 Notice(format, args);
79 return; 81 return;
80 } 82 }
81 83
84 [Obsolete("Log.WriteLine is obsolete, use Warn / Error / Verbose instead.")]
82 public void WriteLine(LogPriority importance, string format, params object[] args) 85 public void WriteLine(LogPriority importance, string format, params object[] args)
83 { 86 {
87 // HOUSEKEEPING : Will remove once use is removed.
84 Log.WriteLine(format, args); 88 Log.WriteLine(format, args);
85 Log.Flush(); 89 Log.Flush();
86 if (!m_silent) 90 if (!m_silent)
@@ -249,6 +253,7 @@ namespace OpenSim.Framework.Console
249 253
250 private void WritePrefixLine(ConsoleColor color, string sender) 254 private void WritePrefixLine(ConsoleColor color, string sender)
251 { 255 {
256 sender = sender.ToUpper();
252 Log.WriteLine("[" + sender + "] "); 257 Log.WriteLine("[" + sender + "] ");
253 Log.Flush(); 258 Log.Flush();
254 259