mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Merge branch 'master' into presence-refactor
This commit is contained in:
@@ -112,7 +112,11 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
|
||||
string xml = "<data>";
|
||||
foreach (IMonitor monitor in m_monitors)
|
||||
{
|
||||
xml += "<" + monitor.ToString() + ">" + monitor.GetValue() + "</" + monitor.ToString() + ">";
|
||||
string elemName = monitor.ToString();
|
||||
if (elemName.StartsWith(monitor.GetType().Namespace))
|
||||
elemName = elemName.Substring(monitor.GetType().Namespace.Length + 1);
|
||||
|
||||
xml += "<" + elemName + ">" + monitor.GetValue() + "</" + elemName + ">";
|
||||
}
|
||||
xml += "</data>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user