aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/EventQueue
diff options
context:
space:
mode:
authorMelanie2019-08-20 23:28:59 +0100
committerMelanie2019-08-20 23:28:59 +0100
commit0fd17c08ae642fac17b24dfad06c61cfe5739483 (patch)
tree4871c96eab2f5b118cb09d670a3a4ba024cf1210 /OpenSim/Region/ClientStack/Linden/Caps/EventQueue
parentchange PGSQL migration (diff)
downloadopensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.zip
opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.gz
opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.bz2
opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.xz
Massive console refactor. Greatly simplify interface.
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
index 4e451b5..8ac348e 100644..100755
--- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
@@ -150,26 +150,27 @@ namespace OpenSim.Region.ClientStack.Linden
150 150
151 if (!(args.Length == 3 && int.TryParse(args[2], out debugLevel))) 151 if (!(args.Length == 3 && int.TryParse(args[2], out debugLevel)))
152 { 152 {
153 MainConsole.Instance.OutputFormat("Usage: debug eq [0|1|2]"); 153 MainConsole.Instance.Output("Usage: debug eq [0|1|2]");
154 } 154 }
155 else 155 else
156 { 156 {
157 DebugLevel = debugLevel; 157 DebugLevel = debugLevel;
158 MainConsole.Instance.OutputFormat( 158 MainConsole.Instance.Output(
159 "Set event queue debug level to {0} in {1}", DebugLevel, m_scene.RegionInfo.RegionName); 159 "Set event queue debug level to {0} in {1}", null, DebugLevel, m_scene.RegionInfo.RegionName);
160 } 160 }
161 } 161 }
162 162
163 protected void HandleShowEq(string module, string[] args) 163 protected void HandleShowEq(string module, string[] args)
164 { 164 {
165 MainConsole.Instance.OutputFormat("For scene {0}", m_scene.Name); 165 MainConsole.Instance.Output("For scene {0}", null, m_scene.Name);
166 166
167 lock (queues) 167 lock (queues)
168 { 168 {
169 foreach (KeyValuePair<UUID, Queue<OSD>> kvp in queues) 169 foreach (KeyValuePair<UUID, Queue<OSD>> kvp in queues)
170 { 170 {
171 MainConsole.Instance.OutputFormat( 171 MainConsole.Instance.Output(
172 "For agent {0} there are {1} messages queued for send.", 172 "For agent {0} there are {1} messages queued for send.",
173 null,
173 kvp.Key, kvp.Value.Count); 174 kvp.Key, kvp.Value.Count);
174 } 175 }
175 } 176 }