We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readme says: "API is backwards-compatible with android.util.Log, so you already know it." But there are cases when it's not true, e.g.:
Log.d("mytag", "Hello"); prints: 'D/LogExampleActivity: mytag Hello' instead of 'D/mytag: Hello'
Log.d("mytag", "Hello");
public class LogExampleActivity extends Activity { private String TAG = "mytag"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Log.d(TAG, "Hello"); } }
prints: 'D/LogExampleActivity: mytag Hello' instead of 'D/mytag: Hello'
public class LogExampleActivity extends Activity { private static final String TAG = "mytag"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Log.d(TAG, "Hello"); My.foo(); } public static class My { public static void foo() { Log.d(TAG, "foobar"); } } }
prints: D/mytag: Hello D/LogExampleActivity$My: mytag foobar
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Readme says: "API is backwards-compatible with android.util.Log, so you already know it."
But there are cases when it's not true, e.g.:
Log.d("mytag", "Hello");
prints: 'D/LogExampleActivity: mytag Hello' instead of 'D/mytag: Hello'
prints: 'D/LogExampleActivity: mytag Hello' instead of 'D/mytag: Hello'
prints:
D/mytag: Hello
D/LogExampleActivity$My: mytag foobar
The text was updated successfully, but these errors were encountered: