I Android you can log things with:
Log.i("Log_Tag","Message");
I know this prints message to the logcat console.
I also noticed it is possible to type into the logcat console.
So I was wondering is there a way to program "debugging" commands so that if you type something in the logcat console it will run a method in your program.