Updated on 2026-08-14
This commit is contained in:
parent
2c5c44736d
commit
7e7ec74d8f
2 changed files with 2 additions and 1 deletions
|
|
@ -61,6 +61,7 @@ class App : Application() {
|
|||
pendingTransactionsStorage = PendingTransactionsStorage(applicationContext)
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
Runtime.getRuntime().exec("logcat -G 16M")
|
||||
com.tangem.tangem_card.util.Log.setLogger(
|
||||
object : com.tangem.tangem_card.util.LoggerInterface {
|
||||
override fun i(logTag: String, message: String) {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ public class Logger {
|
|||
if (f.createNewFile()) {
|
||||
f.setReadable(true);
|
||||
FileWriter fileWriter = new FileWriter(f, true);
|
||||
Process process = Runtime.getRuntime().exec("logcat -d -b main -v time");
|
||||
Process process = Runtime.getRuntime().exec("logcat -d -v time");
|
||||
try {
|
||||
InputStream is = process.getInputStream();
|
||||
InputStreamReader isr = new InputStreamReader(is);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue