aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-02-14 21:28:45 +0000
committerJustin Clark-Casey (justincc)2014-02-14 21:28:45 +0000
commit733e067958bb2ddbb016b97272473b3372563fc3 (patch)
tree2c4d0262d2c9a78d9c7e63e28bbe218f72059590 /OpenSim/Framework
parentMerge branch 'justincc-master' (diff)
downloadopensim-SC_OLD-733e067958bb2ddbb016b97272473b3372563fc3.zip
opensim-SC_OLD-733e067958bb2ddbb016b97272473b3372563fc3.tar.gz
opensim-SC_OLD-733e067958bb2ddbb016b97272473b3372563fc3.tar.bz2
opensim-SC_OLD-733e067958bb2ddbb016b97272473b3372563fc3.tar.xz
Log information about which function, request data and agent ID triggered an XmlRpcGroupsServiceConnector error
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Util.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 7bc8176..c7377b8 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -1746,6 +1746,30 @@ namespace OpenSim.Framework
1746 } 1746 }
1747 1747
1748 /// <summary> 1748 /// <summary>
1749 /// Pretty format the hashtable contents to a single line.
1750 /// </summary>
1751 /// <remarks>
1752 /// Used for debugging output.
1753 /// </remarks>
1754 /// <param name='ht'></param>
1755 public static string PrettyFormatToSingleLine(Hashtable ht)
1756 {
1757 StringBuilder sb = new StringBuilder();
1758
1759 int i = 0;
1760
1761 foreach (string key in ht.Keys)
1762 {
1763 sb.AppendFormat("{0}:{1}", key, ht[key]);
1764
1765 if (++i < ht.Count)
1766 sb.AppendFormat(", ");
1767 }
1768
1769 return sb.ToString();
1770 }
1771
1772 /// <summary>
1749 /// Used to trigger an early library load on Windows systems. 1773 /// Used to trigger an early library load on Windows systems.
1750 /// </summary> 1774 /// </summary>
1751 /// <remarks> 1775 /// <remarks>