mozilla-services/android-sync — comment on commit 76dcf550c2201fef452c041fd57238e92474051f
File:  line 0
By rnewman:

It's hanging around here because it's intended to make code shorter; if it were in Utils we'd need

Utils.trace(LOG_TAG, m);

which — if used frequently — would still warrant a local helper. But you're right that the core of the trace logic should be lifted up.

Logging: the Android Log class doesn't print anything in JUnit 4 desktop tests, but System.out.println isn't ideal for on-device logging. For trace-level stuff it's handy to have the option of both, so you can "printf-debug" tests.

Use Log unless you have a good reason to do otherwise.