JakeWharton / hugo

Annotation-triggered method call logging for your debug builds.
Apache License 2.0
7.92k stars 797 forks source link

Nanotime as parameter for @DebugLog #136

Open davideas opened 8 years ago

davideas commented 8 years ago

Thanks for this simple idea of AspectJ for logging in Android. As CPUs are faster and faster, sometimes we need to check nanos unit, Could you add a parameter to the DebugLog annotation and so to display [XXXns] when requested?

Basically you already grab nanotime but then you convert to millis.

Thanks, Davide