LOGCALL should be the first thing in the function, or else the log is more confusing to follow.

Also, use LOGCALL_VOID when the return type is void (or else it won't compile with some compilers).

Finally, don't abuse LOGCALL to print out arbitrary values like this.  When there are no arguments as here, use NO_ARGS.  If you want to see what internal->_refs is, then you can do that separately using something like:

```
    LOGVALUE(API, internal->_refs);
```