mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Massive console refactor. Greatly simplify interface.
This commit is contained in:
6
OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs
Normal file → Executable file
6
OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs
Normal file → Executable file
@@ -316,15 +316,17 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
|
||||
{
|
||||
foreach (IMonitor monitor in m_staticMonitors)
|
||||
{
|
||||
MainConsole.Instance.OutputFormat(
|
||||
MainConsole.Instance.Output(
|
||||
"[MONITOR MODULE]: {0} reports {1} = {2}",
|
||||
null,
|
||||
m_scene.RegionInfo.RegionName, monitor.GetFriendlyName(), monitor.GetFriendlyValue());
|
||||
}
|
||||
|
||||
foreach (KeyValuePair<string, float> tuple in m_scene.StatsReporter.GetExtraSimStats())
|
||||
{
|
||||
MainConsole.Instance.OutputFormat(
|
||||
MainConsole.Instance.Output(
|
||||
"[MONITOR MODULE]: {0} reports {1} = {2}",
|
||||
null,
|
||||
m_scene.RegionInfo.RegionName, tuple.Key, tuple.Value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1028,7 +1028,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||
{
|
||||
if (cmd.Length < 3)
|
||||
{
|
||||
MainConsole.Instance.OutputFormat("Usage: show name <uuid>");
|
||||
MainConsole.Instance.Output("Usage: show name <uuid>");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1040,7 +1040,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
|
||||
|
||||
if(!GetUser(userId, out ud))
|
||||
{
|
||||
MainConsole.Instance.OutputFormat("No name known for user with id {0}", userId);
|
||||
MainConsole.Instance.Output("No name known for user with id {0}", null, userId);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user