JakeWharton / hugo

Annotation-triggered method call logging for your debug builds.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding support for appending toString() of this object to the method log?

xyxzfj opened this issue · comments

Current log consists only method name, parameters, and time used, which is too simple for me.
Consider adding support for appending toString() of this object to the method log? Like:

V/Example: ⇢ getName(first="Jake", last="Wharton") [Person(123, 27)]

where Person(123, 27) is toString() method of this class (take Person as example):

String toString() {
    return "Person(" + id + ", " + age + ")";
}

Thanks!

commented

Try this plugin, it can help you.