aurora-sim/Aurora-Sim — pull request #131 by BillBarnhill (2012-12-24 04:08:26+00:00)
Title: Added method for building string from OSDMap

The new additional ConvertToString method takes an OSDMap, and optionally a line prefix string, and returns a multi-line string formatting of the OSDMap suitable for use in debug messages. If the values in the OSDMap are themselves OSDMap instances then these are formatted in the same way. If the value is null then just the string null is printed for the value. In all other cases the ToString method is called on the value to get the string used in the result. This method is especially useful when dumping XMLRPC requests and responses, or RemoteCall params.