From 0d7e73be3caf2bb02a528be538e3155d5b3f87eb Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Wed, 30 Apr 2025 10:04:44 +1000 Subject: [PATCH] docs(android): document how to use `adb logcat` (#8931) I've found myself having to look this up numerous times so I am documenting it in the README now. --- kotlin/android/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/kotlin/android/README.md b/kotlin/android/README.md index f38fe3c1a..143796dc8 100644 --- a/kotlin/android/README.md +++ b/kotlin/android/README.md @@ -72,7 +72,7 @@ export RUST_ANDROID_GRADLE_RUSTC_COMMAND=$HOME/.cargo/bin/rustc export RUST_ANDROID_GRADLE_CARGO_COMMAND=$HOME/.cargo/bin/cargo ``` -# Release Setup +## Release Setup We release from GitHub CI, so this shouldn't be necessary. But if you're looking to test the `release` variant locally: @@ -88,3 +88,13 @@ export FIREBASE_CREDENTIALS_PATH="$(pwd)/app/.signing/firebase.json" HISTCONTROL=ignorespace # prevents saving the next line in shell history KEYSTORE_PASSWORD='keystore_password' KEYSTORE_KEY_PASSWORD='keystore_key_password' ./gradlew assembleRelease ``` + +## Logs + +To see all connlib related logs via ADB use: + +``` +adb logcat --format color "connlib *:S" +``` + +This will show logs of all levels from the `connlib` tag and silence logs from other tags (`*:S`).