Averages a list of numbers.
Parameters: | numbers – A list of numbers. |
---|---|
Returns: | The average |
Takes a numeric error level and translates it into a string for displaying in a log.
Parameters: |
|
---|---|
Returns: | String of the level in parenthesis. |
Formats a Float into a displayable form, rounding it into converting to a string.
Parameters: | t – Input float. |
---|---|
Returns: | String that’s formatted like so: 54.32. |
Formats the GhostDriver json-encoded error message for easier printing. In the end, this amounts to replacing escaped quotation marks, parsing the JSON message, and extracting the ‘errorMessage’ portion. It also trims the message to 81 characters if it is over that.
Parameters: |
|
---|---|
Returns: | String of the formatted res initially passed in. |
Prints out statistics for the current running pool.
Parameters: |
|
---|---|
Returns: | None |