Loging from shell in Android

1k views Asked by At

How can you log to the standard loginig system in Android from shell? The one where logcat is used to read the log. I know you can write a very simple program to do that, but isn't there one already?

1

There are 1 answers

0
Sogartar On BEST ANSWER

Well, you can use the log command.

adb shell log "msg"

It is quite obvious to name the command log, when you think about it.