Currently, the JS library leaves non-contextual logs with only the error, message, and line number. You can add additional context to the log, but not with the fields that the publish API contains. Third party integrations like HipChat rely on these fields to create a human readable error message for things like environment and filesystem formatting.
We need more methods that expose the right fields from the publish API, and send it up with the context of all handled errors.