diff --git a/xwords4/android/app/src/debug/assets/startlog.sh b/xwords4/android/app/src/debug/assets/startlog.sh new file mode 100755 index 000000000..fa5e1eb69 --- /dev/null +++ b/xwords4/android/app/src/debug/assets/startlog.sh @@ -0,0 +1,11 @@ +#!exec sh + +set -e -u + +APP=${1:-APP} + +mkdir -p /sdcard/${APP}_logs +cd /sdcard/${APP}_logs + +FILENAME="$(date +%d-%m-%Y_%H%M%S).log" +logcat -v time >> $FILENAME