Is there a way to inject a message into the logcat buffer via adb? This could be useful if for testing and development.
(SO requires me to write more here, so I am writing more here (ignore this line)).
Use the device-side 'log' command. Example:
adb shell log -t my_tag "About to send broadcast..."
The result in logcat will look like:
08-31 10:33:18.750 7081 7081 I my_tag : About to send broadcast...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With