Logging for endpoint calls. Will only work with endpoint calls which have an endpoint as their first arg.
Fixed bug in id method where self._uuid was always returned regardless of the context of the call.