XposedBridge: Remove useless log(2) method
This is not used by any modules as they all use original Xposed API, so this method is not defined. Furthermore, this is uselss as we can always do getStackTraceString(new Throwable()) to convert throwable to string.
This commit is contained in:
parent
32e1565fa5
commit
d4aeddf5bc
|
|
@ -173,19 +173,6 @@ public final class XposedBridge {
|
|||
Log.e(TAG, Log.getStackTraceString(t));
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs a stack trace to the Xposed modules log with module's name.
|
||||
*
|
||||
* <p class="warning"><b>DON'T FLOOD THE LOG!!!</b> This is only meant for error logging.
|
||||
* If you want to write information/debug messages, use logcat.
|
||||
*
|
||||
* @param name The module's name..
|
||||
* @param t The Throwable object for the stack trace.
|
||||
*/
|
||||
public synchronized static void log(String name, Throwable t) {
|
||||
Log.e(TAG, name + ": " + Log.getStackTraceString(t));
|
||||
}
|
||||
|
||||
/**
|
||||
* Hook any method (or constructor) with the specified callback. See below for some wrappers
|
||||
* that make it easier to find a method/constructor in one step.
|
||||
|
|
|
|||
Loading…
Reference in New Issue