[1339:14] (extern: com.aussom.types.AussomException) extends: object
The exception class is the object that is created or thrown when an exception occurs. In your catch (e) {} block this is the object that is provided there.
getLineNumber ()
Gets the line number of the exception.
An int with the line number.getExceptionType ()
Gets the type of exception. Options are exUndef, exInternal, or exRuntime.
A string with the exception type.getId ()
Gets the exception ID string.
A string with the exception ID.getText ()
Gets the exception text.
A string with the exception text.getDetails ()
Gets the exception details. The details is often the same as the exception text but can provide additional information in some cases.
A string with the exception details.getStackTrace ()
Gets the Aussom stack trace as a string.
A string with the stack trace.printStackTrace ()
Creates the Aussom stack trace and prints it to standard output.
this objecttoString ()
Converts the entire exception including line number, type, ID, details, and stack trace and returns it as a string with newline characters.
A string with the exception information.[22:14] (extern: com.aussom.types.AussomBool) extends: object
The bool class implements bool datatype methods. These functions can be used on any bool value.
toInt ()
Converts the bool value to int.
An int with 1 if true and 0 if false.toDouble ()
Converts the bool value to double.
A double with 1.0 if true and 0.0 if false.toString ()
Converts the boolean value to string.
A string with 'true' or 'false'.compare (bool Val)
Compares the value to the provided value.
An int value with the value 0 if this == Val, a value less than 0 if !this && Val, and a value greater than 0 if this && !Val.parse (string Val)
Parses the provided string value and sets the bool value.
Val is a string with 'true' or 'false'.This object.toJson ()
Converts the value to a JSON encoded string.
A JSON encoded string.pack ()
Serializes the data into a structure.
A packed string.mock (string FunctionName, ReturnVal)
Sets a mock on the object for the specified function name. When the function is invoked the provided return value is returned instead of calling the original function.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.this objectmockWhen (string FunctionName, callback Condition, ReturnVal)
Sets a mock on the object for the specified function name with the provided callback to provide the condition. When the function is invoked the provided return value is returned instead of calling the original function. This only occurs when the condition provided in Condition is executed and a 1 or true is returned.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.Condition is a callback with the condition code.this objectsetSpy (string FunctionName)
Sets the spy flag on the object. This will record the arguements provided and the return value of each function call for the provided function name.
FunctionName is a string with the function to spy.this objectgetSpy (string FunctionName)
Retuns a list of maps with each map contining the following: - timestamp: The seconds since epoch that the function was called. - arguments: A list of the arguments provided to the function. - returnValue: The value returned from the function.
FunctionName is a string with the spy records to get.A list of spy records.[503:14] (extern: com.aussom.types.AussomString) extends: object
Implements string datatype methods.
charAt (int Index)
Gets the character at the provided index. It returns the character at the provided index as a new string and can throw an index out of bounds exception.
Index is an int with the index to get the character at.A string with the character at that index.compare (string Str)
This compare function returns an int with the comparison value. It returns a 0 if the strings are equal. It returns a negative value if the current value lexicographically precedes the provided Str value and is posititive if it lexicographically follows the provided Str value.
Str is the string to compare to.An int with the return value.compareICase (string Str)
Compares the provided string to the current one ignoring case. The comparison is the same as string.compare() but just ignoring case.
Str is the string to compare to.An int with the return value.concat (string Str)
Concatenates the provided string value to the current string value and storing it as the current string value. This function appends the provided string.
Str is the string to concatenate.this string objectcontains (string Needle)
Checks to see if the current string value contains the provided string value.
Needle is a string with the value to check.A bool with true if it contains it and false if not.endsWith (string Suffix)
Checks to see if the string ends with the provided string.
Suffix is string to check.A bool with true if it ends with the provided string and false if not.equals (string Str)
Checks to see if the provided string equals the current string.
Str is a string to check.A bool with true if it equal and false if not.equalsICase (string Str)
Similar to string.equals() this compares the current string to the provided one but it ignores case.
Str is a string to check.A bool with true if it equal and false if not.indexOf (string Needle)
Returns the index within this string of the first occurrence of the specified substring. If not found it returns -1.
Needle is a string to look for.An int with the begining index or -1 if not found.indexOfStart (string Needle, int StartIndex)
Similar to string.indexOf() this function returns the index within this string of the first occurrence of the specified found it returns -1. It starts checking in the provided start index.
Needle is a string to look for.StartIndex is a string with the starting index to check from.An int with the begining index or -1 if not found.isEmpty ()
Checks to see if the string is empty. It only returns true if the string length is 0.
A bool with true if empty and false if not.isBlank ()
Checks to see if the blank is empty after performing a string.trim(). So this will return true if the string has no characters, or is only white space.
A bool with true if is blank and false if not.lastIndexOf (string Needle)
Finds the last index of the provided string and returns -1 if not found.
Needle is the string to search for.The last index of the string being searched for or -1 if not found.lastIndexOfStart (string Needle, int StartIndex)
Finds the last index of the provided string and returns -1 if not found. Note that the function starts search at the last index and searches forward so when you provide a start index it will search backward from that position in the curret string.
Needle is the string to search for.StartIndex is an int with the begining index to start searching backwards from.The last index of the string being searched for or -1 if not found.length ()
Gets the string length.
An int with the string length.matches (string Regex)
Checks to see if the provided Java regex expression matches the current string. It returns true if it matches and false if not.
Regex is a string with a Java regular expression to match.A boolean with true if it matches and false if not.replace (string Find, string Replace)
Replaces the string to find with the provided replacement and returns the new string.
Find is a string to find.Replace is a string to replace with.A new string with the replaced string.replaceFirstRegex (string Regex, string Replace)
Replace the first occurance of the search regular expression with the provided replacement string.
Regex is a string with the regular expression to look for.Replace is the string to replace with.A new string with the replaced value.replaceRegex (string Regex, string Replace)
Replaces all instance the provied regular expression matches with the provided replacement string.
Regex is a string with the regex pattern.Replace is a string with the replacement string.A new string with the replaced parts.split (string Delim, bool AllowBlanks = false)
Splits the current string by the provided delimiter. If allow blanks is set to true, it will also return blank parts between delimiters, otherwise trimmed sections that are empty won't be included in the results.
Delim is a string with the delimier to split on.AllowBlanks is an optional bool with true to return blank sections and false for not. The default is false.A list with the split values.startsWith (string Prefix)
Checks if the current string starts with the provided string.
Prefix is the string to check if it starts with.A bool with true if it starts with and false if not.substr (int Index, int EndIndex = null)
Substring returns a sub string of the current string value with the provided index and optional end index.
Index is the start index to get the substring from.EndIndex is the optional end index to get the substring from. Default is null.A string with the sub string value.toLower ()
Converts the string to lower case.
A string with the current string value but all lower case.toUpper ()
Converts the string to upper case.
A string with the current string value but all upper case.trim ()
Removes all of the leading and trainig blank characters from the current string. The blank characters are defined as any character whose codepoint is less than or equal to 'U+0020' (the space character).
A string with the leading and training whitespace removed.toJson ()
Converts the value to a JSON encoded string.
A JSON encoded string.parseInt (int Radix = null)
Parses this string as an int. Convenience method that delegates to Int.parse. Throws on parse failure with the same contract as Int.parse -- wrap the call in try/catch when the input may be invalid.
Radix is an optional int with the numeric base to parse in (e.g. 16 for hex). When omitted, base 10 is used.An int with the parsed value.parseDouble ()
Parses this string as a double. Convenience method that delegates to Double.parse. Throws on parse failure -- wrap the call in try/catch when the input may be invalid.
A double with the parsed value.parseBool ()
Parses this string as a bool. Convenience method that delegates to Bool.parse. Throws on parse failure -- wrap the call in try/catch when the input may be invalid.
A bool with the parsed value.pack ()
Serializes the data into a structure.
A packed string.mock (string FunctionName, ReturnVal)
Sets a mock on the object for the specified function name. When the function is invoked the provided return value is returned instead of calling the original function.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.this objectmockWhen (string FunctionName, callback Condition, ReturnVal)
Sets a mock on the object for the specified function name with the provided callback to provide the condition. When the function is invoked the provided return value is returned instead of calling the original function. This only occurs when the condition provided in Condition is executed and a 1 or true is returned.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.Condition is a callback with the condition code.this objectsetSpy (string FunctionName)
Sets the spy flag on the object. This will record the arguements provided and the return value of each function call for the provided function name.
FunctionName is a string with the function to spy.this objectgetSpy (string FunctionName)
Retuns a list of maps with each map contining the following: - timestamp: The seconds since epoch that the function was called. - arguments: A list of the arguments provided to the function. - returnValue: The value returned from the function.
FunctionName is a string with the spy records to get.A list of spy records.[315:14] (extern: com.aussom.types.AussomDouble) extends: object
The int class implements int datatype methods. These functions can be used on any int value.
toInt ()
Casts the double value to int. This will truncate any fractional part of the double and converts internall to a Long int value.
An int with the converted value.toBool ()
Converts the double value to a boolean value. If the double value is 0.0, it's converted to false and otherwise it's converted to true.
A bool with the converted value.toString ()
Converts the double value to a string.
A string with the converted value.compare (double Val2)
Compares the provided double value to the current value and returns an int with the result. The value returned is 0 if the current value is numerically equal to Val2. A value less than 0 is returned if the current value is less than Val2, and a value greater than 0 if the current value is greater than Val2.
Val2 is a double with the value to compare.An in with the comparison result.isInfinite ()
Returns a bool with true if infinite and false if not.
A bool with true for infinite and false for not.isNan ()
Returns the is not a number flag.
A bool with true if NaN, or false if not.parse (string Val)
Parses the provided string value.
A double value that is the parsed value from the provided string.toHex ()
Returns a hexadecimal string representation of the double value.
A string with the hex value.toJson ()
Converts the value to a JSON encoded string.
A JSON encoded string.pack ()
Serializes the data into a structure.
A packed string.mock (string FunctionName, ReturnVal)
Sets a mock on the object for the specified function name. When the function is invoked the provided return value is returned instead of calling the original function.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.this objectmockWhen (string FunctionName, callback Condition, ReturnVal)
Sets a mock on the object for the specified function name with the provided callback to provide the condition. When the function is invoked the provided return value is returned instead of calling the original function. This only occurs when the condition provided in Condition is executed and a 1 or true is returned.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.Condition is a callback with the condition code.this objectsetSpy (string FunctionName)
Sets the spy flag on the object. This will record the arguements provided and the return value of each function call for the provided function name.
FunctionName is a string with the function to spy.this objectgetSpy (string FunctionName)
Retuns a list of maps with each map contining the following: - timestamp: The seconds since epoch that the function was called. - arguments: A list of the arguments provided to the function. - returnValue: The value returned from the function.
FunctionName is a string with the spy records to get.A list of spy records.[813:14] (extern: com.aussom.types.AussomList) extends: object
Implements list datatype methods.
add (ItemToAdd)
Adds the provided item to the list.
ItemToAdd is any item to add.this objectaddAll (list ListToAdd)
Adds all the items in the provided list to the current list.
ListToAdd is a list with the items to add.this objectaddAllAt (list ListToAdd, int Index)
Adds all items in the provided list to the current list at the provided index.
ListToAdd is a list of items to add.Index is an int with the index to start adding items at.this objectclear ()
Removes all items from the list.
this objectclone ()
Clones the current list and returns a shallow copy of the current list.
A new list with the cloned values.contains (Item)
Checks to see if the provided item exists in the current list. This function only works for primitive types such as null, bool, int, double, and string.
Item is the item to check for.A bool with true if found and false if not.containsObjRef (Item)
Checks to see if the current list contains the provided object reference.
Item is any item to check for the reference in the list.A bool with true if found and false if not.get (int Index)
Gets the item at the provided index.
Index is an int with the index to get the item at.The item found at the provided index.indexOf (Item)
Returns the index of the provided item in the list and -1 if not found.
Item is the item to find in the list.An int with the index of the item or -1 if not found.isEmpty ()
Checks to see if the list is empty.
A bool with true if empty and false if not.remove (Item)
Removes the provided item from the list.
Item is the item to remove from the list.this objectremoveAt (int Index)
Remove the item at the provided index.
Index is an int with the index to remove the item at.The item that was removed from the list.removeAll (list ListToRemove)
Removes all items from the current list with the provided list.
ListToRemove is the list of items to remove from the current list.A bool with true if the list has changed and false if not.retainAll (list ListToRetain)
Retains only those items provided in the list.
ListToRetain is a list of items to retain in the current list.A bool with true if the list has changed and false if not.set (int Index, Item)
Sets the provided item at the provided index.
Index is an int with the index to set the item at.Item is the item to set.The previous item that was at the location.size ()
Gets the size of the list.
An int with the size of the list.subList (int StartIndex, int EndIndex)
Produces a sub list with the provided start and end indexes from the current list.
StartIndex is an int with the starting index.EndIndex is an int with the ending index.A new list with the items between start and end indexes.sort ()
Sorts the list descending. This function should work for any type and uses the compare function to sort the items.
A sorted list.sortAsc ()
Sorts the list ascending. This function should work for any type and uses the compare function to sort the items.
A sorted list.join (string Glue)
Joins the items in the current list with the provided string.
Glue is a string to use to join the items together.A string with the joined parts.sortCustom (callback OnCompare)
Sorts the list with the provided custom compare callback. The function definition must take the two items that are being compared and return an int with either a negative value, 0, or a positive value that's used to sort the list.
OnCompare is a callback that does the comparison for sorting.toJson ()
Converts the value to a JSON encoded string.
A JSON encoded string.pack ()
Serializes the data into a structure.
A packed string.mock (string FunctionName, ReturnVal)
Sets a mock on the object for the specified function name. When the function is invoked the provided return value is returned instead of calling the original function.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.this objectmockWhen (string FunctionName, callback Condition, ReturnVal)
Sets a mock on the object for the specified function name with the provided callback to provide the condition. When the function is invoked the provided return value is returned instead of calling the original function. This only occurs when the condition provided in Condition is executed and a 1 or true is returned.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.Condition is a callback with the condition code.this objectsetSpy (string FunctionName)
Sets the spy flag on the object. This will record the arguements provided and the return value of each function call for the provided function name.
FunctionName is a string with the function to spy.this objectgetSpy (string FunctionName)
Retuns a list of maps with each map contining the following: - timestamp: The seconds since epoch that the function was called. - arguments: A list of the arguments provided to the function. - returnValue: The value returned from the function.
FunctionName is a string with the spy records to get.A list of spy records.[1269:14] (extern: com.aussom.types.AussomNull) extends: object
Implements null datatype methods.
toJson ()
Converts the value to a JSON encoded string.
A JSON encoded string.pack ()
Serializes the data into a structure.
A packed string.mock (string FunctionName, ReturnVal)
Sets a mock on the object for the specified function name. When the function is invoked the provided return value is returned instead of calling the original function.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.this objectmockWhen (string FunctionName, callback Condition, ReturnVal)
Sets a mock on the object for the specified function name with the provided callback to provide the condition. When the function is invoked the provided return value is returned instead of calling the original function. This only occurs when the condition provided in Condition is executed and a 1 or true is returned.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.Condition is a callback with the condition code.this objectsetSpy (string FunctionName)
Sets the spy flag on the object. This will record the arguements provided and the return value of each function call for the provided function name.
FunctionName is a string with the function to spy.this objectgetSpy (string FunctionName)
Retuns a list of maps with each map contining the following: - timestamp: The seconds since epoch that the function was called. - arguments: A list of the arguments provided to the function. - returnValue: The value returned from the function.
FunctionName is a string with the spy records to get.A list of spy records.isBlank ()
This function is implemented in case a variable that is expected to have a string is actually set to null. In this case this function will return true.
A boolean with true.[437:21] static (extern: com.aussom.stdlib.SDouble) extends: object
Static class Double implements functions the operate on double data types. For instance you can call Double.maxVal() to get the maximum double value.
maxExp ()
Gets the maximum exponent value. (Java Double.MAX_EXPONENT)
An int with the max exponent size.maxVal ()
Gets the double maximum value. (Java Double.MAX_VALUE)
A double with the maximum value.minExp ()
Gets the minimum exponent value. (Java Double.MIN_EXPONENT)
An int with the minimum exponent value.minNormal ()
Gets the double minimum normal value. (Java Double.MIN_NORMAL)
A double with the minimum normal value.minVal ()
Gets the double minimum value. (Java Double.MIN_VALUE)
A double with the minumum value.nanVal ()
Returns the not a number (NaN) constant value.
A double with the NaN value.negInfinity ()
Gets the negative infinity value.
A double with the negative indinity value.posInfinity ()
Gets the positivie infinity value.
A double with the positive indinity value.size ()
Gets the number of bits used to represent a double value.
An int with the number of bits.parse (string Val)
Parses the provided string value.
A double value that is the parsed value from the provided string.[128:14] (extern: com.aussom.types.AussomInt) extends: object
The int class implements int datatype methods. These functions can be used on any int value.
toDouble ()
Converts the int to double.
A double with the value.toBool ()
Converts the int to a bool.
A bool with true if non-zero and false if zero.toString ()
Converts the int to it's string representation.
A string with the value.compare (int Val)
Compares the value to the provided value.
An int with the value 0 if this == Val. A value less than 0 if this < Val, and a value greater than 0 if this > Val.numLeadingZeros ()
Returns the number of zero bits preceding the highest-order one-bit in the two's complement binary representation of the value.
An integer with number of zeros.numTrailingZeros ()
Returns the number of zero bits following the lowest-order one-bit in the two's complement binary representation of the value.
An integer with the number of zeros.reverse ()
Returns the value by reversing the bits of the value.
An int with the reversed bit order.reverseBytes ()
Returns the value by reversing the bytes of the value.
An int with the reversed byte order.rotateLeft (int Distance)
Rotates the value the number of bits provided to the left.
An int with the rotated bits.rotateRight (int Distance)
Rotates the value the number of bits provided to the right.
An int with the rotated bits.signum ()
Returns the signum function.
An int with the signum function.toBinary ()
Returns a string with this value as an unsigned integer in base 2.
A string with the binary value.toHex ()
Returns a string with this value as an unsigned integer in base 16.
A string with the base 16 value.toOctal ()
Returns a string with the value as an unsigned integer in base 8.
A string with the base 8 value.parse (string Str, int Radix = null)
Parses the provided string with the provided radix.
Str is a string to parse.Radix is the optional radix value to use.An int with the parsed value.toJson ()
Converts the value to a JSON encoded string.
A JSON encoded string.pack ()
Serializes the data into a structure.
A packed string.mock (string FunctionName, ReturnVal)
Sets a mock on the object for the specified function name. When the function is invoked the provided return value is returned instead of calling the original function.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.this objectmockWhen (string FunctionName, callback Condition, ReturnVal)
Sets a mock on the object for the specified function name with the provided callback to provide the condition. When the function is invoked the provided return value is returned instead of calling the original function. This only occurs when the condition provided in Condition is executed and a 1 or true is returned.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.Condition is a callback with the condition code.this objectsetSpy (string FunctionName)
Sets the spy flag on the object. This will record the arguements provided and the return value of each function call for the provided function name.
FunctionName is a string with the function to spy.this objectgetSpy (string FunctionName)
Retuns a list of maps with each map contining the following: - timestamp: The seconds since epoch that the function was called. - arguments: A list of the arguments provided to the function. - returnValue: The value returned from the function.
FunctionName is a string with the spy records to get.A list of spy records.[288:21] static (extern: com.aussom.stdlib.SInt) extends: object
Static class Int implements functions the operate on int data types. For instance you can call Int.maxVal() to get the maximum integer value.
maxVal ()
Returns the max int value available. This translates to Javas Long.MAX_VALUE.
minVal ()
Returns the min int value available. This translates to Javas Long.IN_VALUE.
parse (string Str, int Radix = null)
Parses the provided string with the provided radix.
Str is a string to parse.Radix is the optional radix value to use.An int with the parsed value.[115:21] static (extern: com.aussom.stdlib.SBool) extends: object
Static class Bool implements functions that operate on bool data types. For example you can use Bool.parse() to parse a string value.
parse (string Val)
Parses the provided string and returns the bool value.
Val is a string with the bool value.A bool value.[1255:14] (extern: com.aussom.types.AussomCallback) extends: object
Implements callback datatype methods. The callback is a function reference that can be passed around. This is useful when needing to pass a function to call later.
call (...)
The call method invokes the current callback with the provided list of arguments.
etc are the arguments to pass to the function.Any object that the called function returns._call (list args)
[1036:14] (extern: com.aussom.types.AussomMap) extends: object
Implements map datatype methods.
clear ()
Clears the current map contents.
this objectcontainsKey (string Key)
Checks to see if the current map contains the provided key.
Key is a strig to check for.A bool with true if found and false if not.containsVal (Val)
Checks to see if the map contains the provided value. This checks for the object reference and doesn't do any comparison of values.
Val is the value to check for.A bool with true if found and false if not.get (string Key)
Gets the value with the provided key.
Key is a string with the key for the value to get.A value or null if not found.getd (string Key, defVal)
Gets the value with the provided key and returns it. If not found it returns the provided default value.
Key is a string with the key for the value to get.defVal is the default value to return if the key isn't found.The value of for the provided key or the default value if not found.isEmpty ()
Checks to see if the current map is empty.
A bool with true if empty or false if not.keySet ()
Gets a list of the available keys.
A list of strings with the keys.put (string Key, Val)
Puts the provided value with the provided key.
Key is a string with the key to set.Val is the value to set.this objectputAll (map ToAdd)
Puts all the items from the provided map into the current map.
ToAdd is a map with the keys and values to add.this objectputIfAbsent (string Key, Val)
Puts the key and value pair if they key doesn't already exist.
Key is the key to set.Val is the value to set.this objectremove (string Key)
Removes the key value pair with the provided key.
Key is a string with the key to remove.The value of the item that was removed or null if not found.size ()
Gets the size of the map.
An int with the map size.values ()
Gets a list of the values in the map.
A list with the map values.toJson ()
Converts the value to a JSON encoded string.
A JSON encoded string.pack ()
Serializes the data into a structure.
A packed string.mock (string FunctionName, ReturnVal)
Sets a mock on the object for the specified function name. When the function is invoked the provided return value is returned instead of calling the original function.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.this objectmockWhen (string FunctionName, callback Condition, ReturnVal)
Sets a mock on the object for the specified function name with the provided callback to provide the condition. When the function is invoked the provided return value is returned instead of calling the original function. This only occurs when the condition provided in Condition is executed and a 1 or true is returned.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.Condition is a callback with the condition code.this objectsetSpy (string FunctionName)
Sets the spy flag on the object. This will record the arguements provided and the return value of each function call for the provided function name.
FunctionName is a string with the function to spy.this objectgetSpy (string FunctionName)
Retuns a list of maps with each map contining the following: - timestamp: The seconds since epoch that the function was called. - arguments: A list of the arguments provided to the function. - returnValue: The value returned from the function.
FunctionName is a string with the spy records to get.A list of spy records.[1193:14] (extern: com.aussom.types.AussomObject)
Implements object datatype methods.
toJson ()
Converts the value to a JSON encoded string.
A JSON encoded string.pack ()
Serializes the data into a structure.
A packed string.mock (string FunctionName, ReturnVal)
Sets a mock on the object for the specified function name. When the function is invoked the provided return value is returned instead of calling the original function.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.this objectmockWhen (string FunctionName, callback Condition, ReturnVal)
Sets a mock on the object for the specified function name with the provided callback to provide the condition. When the function is invoked the provided return value is returned instead of calling the original function. This only occurs when the condition provided in Condition is executed and a 1 or true is returned.
FunctionName is a string with the function to mock.ReturnVal is the return value to return.Condition is a callback with the condition code.this objectsetSpy (string FunctionName)
Sets the spy flag on the object. This will record the arguements provided and the return value of each function call for the provided function name.
FunctionName is a string with the function to spy.this objectgetSpy (string FunctionName)
Retuns a list of maps with each map contining the following: - timestamp: The seconds since epoch that the function was called. - arguments: A list of the arguments provided to the function. - returnValue: The value returned from the function.
FunctionName is a string with the spy records to get.A list of spy records.