#!/system/bin/sh

error() {
  echo "$@"
  exit 1
}

clear
which su >> /dev/null || error "You need root access to run logcat"

su logcat $@
