aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/RemoteConsole.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console/RemoteConsole.cs')
-rw-r--r--OpenSim/Framework/Console/RemoteConsole.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs
index 88d385e..544a072 100644
--- a/OpenSim/Framework/Console/RemoteConsole.cs
+++ b/OpenSim/Framework/Console/RemoteConsole.cs
@@ -49,6 +49,7 @@ namespace OpenSim.Framework.Console
49 private List<string> m_Scrollback = new List<string>(); 49 private List<string> m_Scrollback = new List<string>();
50 private ManualResetEvent m_DataEvent = new ManualResetEvent(false); 50 private ManualResetEvent m_DataEvent = new ManualResetEvent(false);
51 private List<string> m_InputData = new List<string>(); 51 private List<string> m_InputData = new List<string>();
52 private uint m_LineNumber = 1;
52 53
53 public RemoteConsole(string defaultPrompt) : base(defaultPrompt) 54 public RemoteConsole(string defaultPrompt) : base(defaultPrompt)
54 { 55 {
@@ -70,7 +71,8 @@ namespace OpenSim.Framework.Console
70 { 71 {
71 while (m_Scrollback.Count >= 1000) 72 while (m_Scrollback.Count >= 1000)
72 m_Scrollback.RemoveAt(0); 73 m_Scrollback.RemoveAt(0);
73 m_Scrollback.Add(level+":"+text); 74 m_Scrollback.Add(String.Format("{0}", m_LineNumber)+":"+level+":"+text);
75 m_LineNumber++;
74 } 76 }
75 System.Console.Write(text); 77 System.Console.Write(text);
76 } 78 }