log icon indicating copy to clipboard operation
log copied to clipboard

Ultimately minimal (yet very convenient) logger for Android and Java

Results 5 log issues
Sort by recently updated
recently updated
newest added

There are some issues with exception and formatter: 1) ``` Log.useFormat(true); Exception e = new Exception("foo"); Log.d(TAG, "Something bad happened %d, error", 123, e); ``` prints: 'Something bad happened 123,...

There's currently no way to check if a log statement will be printed or not. There should be a public getter for min level, or at least a `isLoggable(level)` function...

https://developer.android.com/reference/android/util/Log.html#wtf(java.lang.String,%20java.lang.String)

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.: 1) `Log.d("mytag", "Hello");` prints: 'D/LogExampleActivity: mytag Hello' instead of...

Not sure if this is practical, but... ``` java class Foo { public void foo() { Log.d("Hello"); // prints 'D/Foo: Hello' } } ``` As your docs show, this uses...